]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Find the path to deal.II some other way.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 28 Sep 2012 02:40:49 +0000 (02:40 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 28 Sep 2012 02:40:49 +0000 (02:40 +0000)
git-svn-id: https://svn.dealii.org/trunk@26818 0785d39b-7218-0410-832d-ea1e28bc413d

tests/normalize.pl

index 3dc53ffe30ea131c71761541afdb41de97a212df..f0490fd217cf22c11dbe01feef402fc61da70714 100644 (file)
@@ -1,7 +1,7 @@
 ######################################################################
 # $Id$
 #
-# Copyright (C) 2001, 2003, 2005, 2010, 2011, the deal.II authors
+# Copyright (C) 2001, 2003, 2005, 2010, 2011, 2012, the deal.II authors
 #
 # Remove insignificant volatile data from output files of tests
 #
 #  small doubles
 ######################################################################
 
-# Remove absolute path names
+# Remove absolute path names. Get the path to the testsuite from
+# the location of this script
 $D = $0;
-$D =~ s!common/scripts/normalize.pl!!;
+$D =~ s!tests/normalize.pl!!;
 s!$D!DEAL_II_PATH/!g;
 
 # Remove JobID
@@ -26,7 +27,7 @@ s/JobId.*//;
 s/%%Creation Date:.*//;
 s/\"created\".*//;
 s/# Time =.*//;
-s/# Date =.*//; 
+s/# Date =.*//;
 s/^\s+Time =.*//;
 s/^\s+Date =.*//;
 s/Time tag:.*//g;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.