deployment: fix to deploy bclibraries skin correctly
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Wed, 26 Sep 2012 18:16:45 +0000 (11:16 -0700)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Wed, 26 Sep 2012 18:16:45 +0000 (11:16 -0700)
deployment/install-eg.sh

index 0f7c797..4faf571 100755 (executable)
@@ -95,9 +95,9 @@ if [ ! -d "${OPACSKIN}" ]
 then
   cd ${DEPLOYDIR} && git clone git://git.sitka.bclibraries.ca/sitka/opacskin.git
 fi
-cd ${OPACSKIN} && git checkout origin/bclibraries && \
+cd ${OPACSKIN} && git checkout -b bclibraries && \
   cd ${INSTALLDIR}/var/web/opac/skin && mv default orig-default && \
-  rsync -a --exclude=.git ${OPACSKIN}/bclibraries ${INSTALLDIR}/var/web/opac/skin/bclibraries && \
+  rsync -a --exclude=.git ${OPACSKIN} ${INSTALLDIR}/var/web/opac/skin/bclibraries && \
   ln -s ${INSTALLDIR}/var/web/opac/skin/bclibraries ${INSTALLDIR}/var/web/opac/skin/default
 
 # (b) circ scripts