[Swift-commit] r6324 - trunk/bin
davidk at ci.uchicago.edu
davidk at ci.uchicago.edu
Sat Mar 2 15:31:23 CST 2013
Author: davidk
Date: 2013-03-02 15:31:23 -0600 (Sat, 02 Mar 2013)
New Revision: 6324
Modified:
trunk/bin/gensites
Log:
Update to gensites search paths
Modified: trunk/bin/gensites
===================================================================
--- trunk/bin/gensites 2013-03-02 21:30:48 UTC (rev 6323)
+++ trunk/bin/gensites 2013-03-02 21:31:23 UTC (rev 6324)
@@ -123,10 +123,10 @@
if [ ! -f "$TEMPLATE_PATH" ]; then
if [ -f "$TEMPLATE" ]; then
TEMPLATE_PATH=$TEMPLATE
+ elif [ -f "$HOME/.swift/sites/$TEMPLATE" ]; then
+ TEMPLATE_PATH=$HOME/.swift/sites/$TEMPLATE
elif [ -f "$SWIFT_HOME/$TEMPLATE" ]; then
TEMPLATE_PATH=$SWIFT_HOME/$TEMPLATE
- elif [ -f "$HOME/.swift/sites/$TEMPLATE" ]; then
- TEMPLATE_PATH=$HOME/.swift/sites/$TEMPLATE
fi
if [ ! -f "$TEMPLATE_PATH" ]; then
crash "Cannot find template for $TEMPLATE"
More information about the Swift-commit
mailing list