From ee872bbbe6ef46cb1d119160345975686ce72fa1 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Thu, 1 Mar 2018 12:43:18 -0500 Subject: [PATCH] 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. --- scripts/site_avenger/revamp_cakelampvm.sh | 2 ++ 1 file changed, 2 insertions(+) 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 ############## ############## -- 2.34.1