[Swift-commit] r3731 - trunk/bin
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Wed Dec 1 15:00:54 CST 2010
Author: wozniak
Date: 2010-12-01 15:00:54 -0600 (Wed, 01 Dec 2010)
New Revision: 3731
Modified:
trunk/bin/swift
Log:
Return non-zero exit code if Swift is not installed correctly
Modified: trunk/bin/swift
===================================================================
--- trunk/bin/swift 2010-11-29 23:59:05 UTC (rev 3730)
+++ trunk/bin/swift 2010-12-01 21:00:54 UTC (rev 3731)
@@ -45,7 +45,7 @@
SWIFT_HOME=`dirname $MY_PATH`"/.."
if [ ! -f "$SWIFT_HOME/lib/cog-swift-svn.jar" ] && [ ! -f "$SWIFT_HOME/lib/cog.jar" ] ; then
echo "Error: SWIFT_HOME is not set, and all attempts at guessing it failed"
- exit
+ exit 1
fi
fi
fi
More information about the Swift-commit
mailing list