From b9eb0fe2b096e9cf34b05c9d40004603895de5a1 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 28 Sep 2012 02:40:49 +0000 Subject: [PATCH] Find the path to deal.II some other way. git-svn-id: https://svn.dealii.org/trunk@26818 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/normalize.pl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/normalize.pl b/tests/normalize.pl index 3dc53ffe30..f0490fd217 100644 --- a/tests/normalize.pl +++ b/tests/normalize.pl @@ -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 # @@ -12,9 +12,10 @@ # 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; -- 2.39.5