[llvm-commits] CVS: llvm-test/External/SPEC/Sandbox.sh

Chris Lattner sabre at nondot.org
Sat Sep 16 00:07:11 PDT 2006



Changes in directory llvm-test/External/SPEC:

Sandbox.sh updated: 1.10 -> 1.11
---
Log message:

Actually copy over the input for 444.namd


---
Diffs of the changes:  (+6 -2)

 Sandbox.sh |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)


Index: llvm-test/External/SPEC/Sandbox.sh
diff -u llvm-test/External/SPEC/Sandbox.sh:1.10 llvm-test/External/SPEC/Sandbox.sh:1.11
--- llvm-test/External/SPEC/Sandbox.sh:1.10	Thu Feb 23 19:04:58 2006
+++ llvm-test/External/SPEC/Sandbox.sh	Sat Sep 16 02:06:43 2006
@@ -21,8 +21,12 @@
 # Copy all of the test input files into the current directory.
 cp -r $INPUT_DIR/* .
 
-# If there is an "all" input directory, take it as well.
-cp -r $INPUT_DIR/../../all/input/* . > /dev/null 2>&1 
+# If there is an "all" input directory, take it as well.  This
+# effectively copies over $INPUT_DIR/../../all/input, but works if the
+# actual $INPUT_DIR directory doesn't exist, as is the case with 444.namd.
+UP1=`dirname $INPUT_DIR`
+UP2=`dirname $UP1`
+cp -r $UP2/all/input/* . > /dev/null 2>&1 
 
 # If any of the input files is a .bz2 file, uncompress it now.
 bunzip2 *.bz2 > /dev/null 2>&1






More information about the llvm-commits mailing list