[Swift-commit] r5285 - branches/release-0.93/bin

wilde at ci.uchicago.edu wilde at ci.uchicago.edu
Sun Nov 13 20:29:23 CST 2011


Author: wilde
Date: 2011-11-13 20:29:22 -0600 (Sun, 13 Nov 2011)
New Revision: 5285

Modified:
   branches/release-0.93/bin/swift
Log:
Allow users to set an alternate value for $HOME (Java property user.home) to make Swift look for .globus in an alternate location, e.g. /lustre/beagle/$USER). Use this by \*exporting\* SWIFT_USERHOME and setting that env var to the alternate HOME location.

Modified: branches/release-0.93/bin/swift
===================================================================
--- branches/release-0.93/bin/swift	2011-11-12 21:54:58 UTC (rev 5284)
+++ branches/release-0.93/bin/swift	2011-11-14 02:29:22 UTC (rev 5285)
@@ -86,6 +86,7 @@
 updateOptions "$X509_USER_PROXY" "X509_USER_PROXY"
 updateOptions "$SWIFT_HOME" "COG_INSTALL_PATH"
 updateOptions "$SWIFT_HOME" "swift.home"
+updateOptions "$SWIFT_USERHOME" "user.home"
 #Use /dev/urandom instead of /dev/random for seeding RNGs
 #This will lower the randomness of the seed, but avoid
 #large delays if /dev/random does not have enough entropy collected




More information about the Swift-commit mailing list