From 61ed2301486f43f66c1a7fd4d54059bef0d29595 Mon Sep 17 00:00:00 2001 From: deal Date: Thu, 8 May 2003 16:07:14 +0000 Subject: [PATCH] Use same hack again. git-svn-id: https://svn.dealii.org/trunk@7613 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/results/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/results/Makefile b/tests/results/Makefile index 1d61d732b7..065ba45f39 100644 --- a/tests/results/Makefile +++ b/tests/results/Makefile @@ -15,7 +15,7 @@ all: .links # unfortunately, -L is not available in test when plain sh is used, so work # around this by explicitely using bash linkfiles-%: - TARGET=`echo $@ | $(PERL) -pi -e 's/linkfiles-//; s/-to-.*//;'` ; \ + @TARGET=`echo $@ | $(PERL) -pi -e 's/linkfiles-//; s/-to-.*//;'` ; \ SOURCE=`echo $@ | $(PERL) -pi -e 's/.*-to-//;'` ; \ echo "Creating links from $$SOURCE into $$TARGET" ; \ cd $$SOURCE ; \ @@ -31,11 +31,13 @@ linkfiles-%: # if called with linksdirs-TARGET-to-SOURCE, creates a link from the source # directory to the target directory +# +# use same hack for test -L as above linkdirs-%: @TARGET=`echo $@ | $(PERL) -pi -e 's/linkdirs-//; s/-to-.*//;'` ; \ SOURCE=`echo $@ | $(PERL) -pi -e 's/.*-to-//;'` ; \ echo "Aliasing $$TARGET to $$SOURCE" ; \ - if test -L $$TARGET ; then rm $$TARGET ; fi ; \ + if bash test -L $$TARGET ; then rm $$TARGET ; fi ; \ ln -s $$SOURCE $$TARGET .links: linkfiles-i686-pc-linux-gnu+icc7.1-to-i686-pc-linux-gnu+gcc3.2 \ -- 2.39.5