From: Chris Sharp Date: Wed, 11 Nov 2020 17:56:30 +0000 (-0500) Subject: do not hard-code EG repo location for symlink X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d0cef04150080cf7f120dff1247689bbd317e32c;p=contrib%2Fpines.git do not hard-code EG repo location for symlink --- diff --git a/install-eg/update_eg.sh b/install-eg/update_eg.sh index 7f6ba12..de8a411 100755 --- a/install-eg/update_eg.sh +++ b/install-eg/update_eg.sh @@ -90,7 +90,7 @@ rm /openils/var/web/eg2 su - opensrf -c "cd $EG_REPODIR && PATH=$PATH:/openils/bin autoreconf -i && PATH=$PATH:/openils/bin ./configure --prefix=/openils --sysconfdir=/openils/conf && make" make install # re-create symlink to eg2 -rm -rf /openils/var/web/eg2 && ln -s /home/opensrf/Evergreen/Open-ILS/web/eg2 /openils/var/web/eg2 +rm -rf /openils/var/web/eg2 && ln -s /home/opensrf/$EG_REPODIR/Open-ILS/web/eg2 /openils/var/web/eg2 screen -d -m -S eg-build su - opensrf -c "cd $EG_REPODIR/Open-ILS/src/eg2 && npm install && ng build --watch" chown -R opensrf:opensrf /openils }