From d0cef04150080cf7f120dff1247689bbd317e32c Mon Sep 17 00:00:00 2001 From: Chris Sharp Date: Wed, 11 Nov 2020 12:56:30 -0500 Subject: [PATCH] do not hard-code EG repo location for symlink --- install-eg/update_eg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.11.0