[Swift-commit] r4115 - SwiftApps/SwiftR

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Thu Feb 17 17:50:37 CST 2011


Author: tga
Date: 2011-02-17 17:50:37 -0600 (Thu, 17 Feb 2011)
New Revision: 4115

Modified:
   SwiftApps/SwiftR/Makefile
Log:
Fix makefile to work correctly on machines with no svn installation.


Modified: SwiftApps/SwiftR/Makefile
===================================================================
--- SwiftApps/SwiftR/Makefile	2011-02-17 20:33:16 UTC (rev 4114)
+++ SwiftApps/SwiftR/Makefile	2011-02-17 23:50:37 UTC (rev 4115)
@@ -45,7 +45,7 @@
 	rm $(TBALL)
 
 $(TBALL): Swift/inst/swift/bin/swift $(PKG_FILES) Makefile
-	if [ -d .svn ]; then svn info > Swift/svninfo; fi
+	if [ -d .svn -a -x "`which svn`" ]; then svn info > Swift/svninfo; fi
 	R CMD build Swift
 
 




More information about the Swift-commit mailing list