install-eg.sh: a few minor improvements
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Wed, 31 Jul 2013 18:22:17 +0000 (11:22 -0700)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Wed, 31 Jul 2013 18:22:17 +0000 (11:22 -0700)
deployment/install-eg.sh

index 39ea0cc..c2b4bbd 100755 (executable)
@@ -9,7 +9,7 @@ INSTALLDIR="/srv/openils"
 BRANCH="production/sitka_2_4"
 VERSION="2.4.0.sitka.0"
 STAMP_ID="2_4_0_sitka_0"
-ALT_STAMP_IDS="rel_2_4_0_sitka_0 2_4_0_sitka_0 rel_2_4_0_sitka_0"
+ALT_STAMP_IDS="rel_2_4_0_sitka_0 rel_2_4_0_sitka_0"
 SITKACONF="${HOMEDIR}/sysadmin"
 
 suwrap() {
@@ -113,7 +113,7 @@ cd ${INSTALLDIR}/var/web/opac/locale && cp -fdr en-US en-US-bak && cp -fdr en-CA
 # 6. deletepatron
 # ensure apache conf contains deletepatron config (location should be ${INSTALLDIR}/var/web/deletepatron)
 cd ${INSTALLDIR}/var/web && git clone https://github.com/twirlip/deletepatron.git
-cd ${INSTALLDIR}/var/web/deletepatron && git checkout eg22 && find . -name *.pm | xargs sed -i -e 's|/openils|/srv/openils|g'
+cd ${INSTALLDIR}/var/web/deletepatron && git checkout eg22 && find . -name "*.pm" | xargs sed -i -e 's|/openils|/srv/openils|g'
 apt-get install libcgi-session-perl libhtml-template-perl
 
 # 7. support scripts