From: Chris Koeritz Date: Thu, 1 Mar 2018 17:43:18 +0000 (-0500) Subject: jumping to home dir X-Git-Tag: 2.140.110^2~19 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=ee872bbbe6ef46cb1d119160345975686ce72fa1;p=feisty_meow.git jumping to home dir composer addition gets confused if within a project, and the setting we are adding with this step is supposed to be for whole account. jumping to home dir first seems to fix it. --- diff --git a/scripts/site_avenger/revamp_cakelampvm.sh b/scripts/site_avenger/revamp_cakelampvm.sh index ecdd96d4..397c6764 100644 --- a/scripts/site_avenger/revamp_cakelampvm.sh +++ b/scripts/site_avenger/revamp_cakelampvm.sh @@ -326,7 +326,9 @@ sep echo Adding site avenger packages to composer. # add in site avenger dependencies so we can build avcore properly. +pushd ~ &>/dev/null sudo -u $(logname) composer config -g repositories.siteavenger composer https://packages.siteavenger.com/ +popd &>/dev/null ############## ##############