From afc3071bc7d49eb09c9f5a9aac1a150472db087c Mon Sep 17 00:00:00 2001 From: Chris Sharp Date: Thu, 25 Jul 2019 14:19:43 -0400 Subject: [PATCH] add complete paths to EG & OpenSRF repo dirs --- templates/setup-functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/setup-functions b/templates/setup-functions index b8efadc..f5166f1 100755 --- a/templates/setup-functions +++ b/templates/setup-functions @@ -127,7 +127,7 @@ OSRF_REPODIR=$(echo $OSRF_GIT_URL | awk -F/ '{print $NF}' | sed -e 's/.git%//') DISTRONAME=ubuntu-xenial useradd -m -s /bin/bash opensrf su - opensrf -c git clone --branch $OSRF_GIT_BRANCH $OSRF_GIT_URL -cd $OSRF_REPODIR +cd /home/opensrf/$OSRF_REPODIR make -f src/extras/Makefile.install $DISTRONAME su - opensrf -c "cd $OSRF_REPODIR && autoreconf -i && ./configure --prefix=/openils --sysconfdir=/openils/conf && make" make install @@ -138,7 +138,7 @@ InstallEvergreenfromGit () { EG_REPODIR=$(echo $EG_GIT_URL | awk -F/ '{print $NF}' | sed -e 's/.git%//') DISTRONAME=ubuntu-xenial su - opensrf -c git clone --branch $EG_GIT_BRANCH $EG_GIT_URL -cd $EG_REPODIR +cd /home/opensrf/$EG_REPODIR make -f src/extras/Makefile.install $DISTRONAME make -f src/extras/Makefile.install ${DISTRONAME}-developer su - opensrf -c "cd $EG_REPODIR/Open-ILS/web/js/ui/default/staff && npm install && npm run build-prod && npm run test" -- 2.11.0