[Swift-commit] r7453 - branches/release-0.95/bin

wilde at ci.uchicago.edu wilde at ci.uchicago.edu
Wed Dec 25 22:00:11 CST 2013


Author: wilde
Date: 2013-12-25 22:00:11 -0600 (Wed, 25 Dec 2013)
New Revision: 7453

Modified:
   branches/release-0.95/bin/swift
Log:
Make swift command fetch swiftrun script from same bin directory that swift command came from.

Modified: branches/release-0.95/bin/swift
===================================================================
--- branches/release-0.95/bin/swift	2013-12-26 03:58:49 UTC (rev 7452)
+++ branches/release-0.95/bin/swift	2013-12-26 04:00:11 UTC (rev 7453)
@@ -150,10 +150,10 @@
 # Swiftrun
 if [[ "$CMDLINE" == *-listconfig* ]]
 then
-   swiftrun $CMDLINE
+   $SWIFT_HOME/bin/swiftrun $CMDLINE
    exit 0
 else
-   CMDLINE="$( swiftrun $CMDLINE )"
+   CMDLINE="$( $SWIFT_HOME/bin/swiftrun $CMDLINE )"
    for cmd in $CMDLINE
    do
       if [[ "$cmd" == *-Dscript.dir* ]] || [[ "$cmd" == *-Drestart.log.name* ]]; then




More information about the Swift-commit mailing list