install-eg.sh: skip autoreconf when installing from tarball
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Wed, 18 Apr 2018 20:43:31 +0000 (13:43 -0700)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Wed, 18 Apr 2018 20:43:31 +0000 (13:43 -0700)
deployment/install-eg.sh

index caf90c1..246e470 100755 (executable)
@@ -98,7 +98,7 @@ if [[ ! -n "$TARBALL" && ! -n "$SKIPWEBCLIENT" ]] ; then
 fi
 
 # as INSTALL_USER
 fi
 
 # as INSTALL_USER
-suwrap "cd ${BUILDDIR} && autoreconf -i" ${INSTALL_USER} # not required for release versions
+[ ! -n "$TARBALL" ] && suwrap "cd ${BUILDDIR} && autoreconf -i" ${INSTALL_USER} # not required for release versions
 suwrap "PATH=${INSTALLDIR}/bin:\$PATH cd ${BUILDDIR} && PATH=${INSTALLDIR}/bin:\$PATH ./configure -C --prefix=${INSTALLDIR} --sysconfdir=${INSTALLDIR}/conf --with-opensrf-headers=${INSTALLDIR}/include/ --with-opensrf-libs=${INSTALLDIR}/lib/" ${INSTALL_USER}
 suwrap "cd ${BUILDDIR} && make" ${INSTALL_USER}
 suwrap "cd ${BUILDDIR}/build/i18n && make LOCALE=fr-CA install && make LOCALE=en-CA install" ${INSTALL_USER}
 suwrap "PATH=${INSTALLDIR}/bin:\$PATH cd ${BUILDDIR} && PATH=${INSTALLDIR}/bin:\$PATH ./configure -C --prefix=${INSTALLDIR} --sysconfdir=${INSTALLDIR}/conf --with-opensrf-headers=${INSTALLDIR}/include/ --with-opensrf-libs=${INSTALLDIR}/lib/" ${INSTALL_USER}
 suwrap "cd ${BUILDDIR} && make" ${INSTALL_USER}
 suwrap "cd ${BUILDDIR}/build/i18n && make LOCALE=fr-CA install && make LOCALE=en-CA install" ${INSTALL_USER}