install-eg.sh: fix typo
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Sun, 22 May 2016 05:02:12 +0000 (22:02 -0700)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Sun, 22 May 2016 05:02:12 +0000 (22:02 -0700)
deployment/install-eg.sh

index d718c2e..a70f6d6 100755 (executable)
@@ -126,7 +126,7 @@ for OSRFCONFFILE in ${OSRFCONFFILES}
 do
   mkdir -p /tmp/${OSRFCONFFILE}
   cp ${SITKACONF}/files/${OSRFCONFFILE}/${HOSTNAME} /tmp/${OSRFCONFFILE}/${HOSTNAME}
-  sed -i "S|__HOSTNAME__|${THISHOST}|g" /tmp/${OSRFCONFFILE}/${HOSTNAME}
+  sed -i "s|__HOSTNAME__|${THISHOST}|g" /tmp/${OSRFCONFFILE}/${HOSTNAME}
   if `cmp -s ${SITKACONF}/files/${OSRFCONFFILE}/${HOSTNAME} /tmp/${OSRFCONFFILE}/${HOSTNAME}` ; then
     echo "${OSRFCONFFILE} is unchanged, so not updating"
   else