[open-ils-commits] r187 - conifer/trunk/tools (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Mar 15 22:04:27 EDT 2009
Author: dbs
Date: 2009-03-15 22:04:25 -0400 (Sun, 15 Mar 2009)
New Revision: 187
Modified:
conifer/trunk/tools/patch_conifer.sh
Log:
Use a string comparison operator and the world is much better
Modified: conifer/trunk/tools/patch_conifer.sh
===================================================================
--- conifer/trunk/tools/patch_conifer.sh 2009-03-16 01:59:01 UTC (rev 186)
+++ conifer/trunk/tools/patch_conifer.sh 2009-03-16 02:04:25 UTC (rev 187)
@@ -62,7 +62,7 @@
for skin in $SKINS
do
rm -fr "$INSTALL_DIR"/var/web/opac/skin/"$skin"_test
- if [ $skin -eq 'default' ]
+ if [ "$skin" == "default" ]
then
cp -r "$CANONICAL_EXPORT_DIR"/Open-ILS/web/opac/skin/default "$INSTALL_DIR"/var/web/opac/skin/"$skin"_test
else
More information about the open-ils-commits
mailing list