Skip to content

Commit

Permalink
print current working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Sep 22, 2023
1 parent 78f26f9 commit 7f01bb9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions private/scripts/helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,9 @@ function update_composer() {
# Add a post-install hook to the composer.json.
echo "${yellow}Adding a post-install hook to composer.json.${normal}"
jq -r '.scripts += { "post-install-cmd": [ "@composer install --no-dev --prefer-dist --ignore-platform-reqs --working-dir=%sagedir%" ] }' composer.json > composer.new.json

pwd

if [[ "$OSTYPE" == "darwin"* ]]; then
# Mac OS
sed -i '' "s,%sagedir%,$sagedir," composer.new.json
Expand Down

0 comments on commit 7f01bb9

Please sign in to comment.