[Swift-commit] r4585 - SwiftApps/Montage/exec

jonmon at ci.uchicago.edu jonmon at ci.uchicago.edu
Wed Jun 8 16:48:30 CDT 2011


Author: jonmon
Date: 2011-06-08 16:48:30 -0500 (Wed, 08 Jun 2011)
New Revision: 4585

Modified:
   SwiftApps/Montage/exec/montage.sh
Log:
Added change so now the tc file must be added at the command line. Might change this later


Modified: SwiftApps/Montage/exec/montage.sh
===================================================================
--- SwiftApps/Montage/exec/montage.sh	2011-06-08 21:45:21 UTC (rev 4584)
+++ SwiftApps/Montage/exec/montage.sh	2011-06-08 21:48:30 UTC (rev 4585)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-EXPECTED_ARGS=4
+EXPECTED_ARGS=5
 
 if [ $# -ne $EXPECTED_ARGS ]
 then
@@ -67,8 +67,8 @@
 rm -f sites.properties
 
 mv sites.xml ${WORK_DIRECTORY}
-cp tc.data ${WORK_DIRECTORY}
-cp -r $4 ${WORK_DIRECTORY}
+cp $4 ${WORK_DIRECTORY}
+cp -r $5 ${WORK_DIRECTORY}
 cd ${WORK_DIRECTORY}
 echo "swift -tc.file tc.data -sites.file sites.xml -config ${SWIFT_MONTAGE}/etc swift_montage.properties ${SWIFT_MONTAGE}/scripts/montage.swift"
 




More information about the Swift-commit mailing list