From: deal Date: Thu, 8 May 2003 16:07:14 +0000 (+0000) Subject: Use same hack again. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61ed2301486f43f66c1a7fd4d54059bef0d29595;p=dealii-svn.git Use same hack again. git-svn-id: https://svn.dealii.org/trunk@7613 0785d39b-7218-0410-832d-ea1e28bc413d --- 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 \