[Swift-commit] r5311 - SwiftApps/SwiftR

tga at ci.uchicago.edu tga at ci.uchicago.edu
Fri Nov 18 11:43:01 CST 2011


Author: tga
Date: 2011-11-18 11:43:01 -0600 (Fri, 18 Nov 2011)
New Revision: 5311

Modified:
   SwiftApps/SwiftR/checkout-swift.sh
Log:
Made build process return error when checking out swift fails



Modified: SwiftApps/SwiftR/checkout-swift.sh
===================================================================
--- SwiftApps/SwiftR/checkout-swift.sh	2011-11-18 05:02:09 UTC (rev 5310)
+++ SwiftApps/SwiftR/checkout-swift.sh	2011-11-18 17:43:01 UTC (rev 5311)
@@ -26,8 +26,12 @@
 
 svn checkout https://cogkit.svn.sourceforge.net/svnroot/cogkit/${COG_TAG} ${COG_SRC}
 echo Checking out Swift source 
-(cd ${COG_SRC}/modules &&
-    svn checkout https://svn.ci.uchicago.edu/svn/vdl2/${SWIFT_TAG} swift)
+CURR=`pwd`
+cd ${COG_SRC}/modules
+svn checkout https://svn.ci.uchicago.edu/svn/vdl2/${SWIFT_TAG} swift
+cd "$CURR"
 
 patch -d ${COG_SRC} -p0 < $SWIFT_PATCH
-(cd ${COG_SRC} && xargs -d '\n' -n 1 --arg-file=../${SWIFT_PATCH}.deleted rm -rf)
+cd ${COG_SRC} 
+xargs -d '\n' -n 1 --arg-file=../${SWIFT_PATCH}.deleted rm -rf
+cd "$CURR"




More information about the Swift-commit mailing list