Skip to content

Commit

Permalink
FIX: apolopena#210 - change owner and create vendor/bin
Browse files Browse the repository at this point in the history
  • Loading branch information
strausmann committed Mar 6, 2022
1 parent 32419c8 commit bba7928
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gp/bash/init-complete.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# init-complete.sh
# Description:
# Code to be run just once at the very end of workspace initialization.
#
#
# Notes:
# Always call this file last from the 'init' command in .gitpod.yml

Expand All @@ -18,6 +18,8 @@ allow_mixed_web=$(bash .gp/bash/utils.sh parse_ini_value starter.ini laravel all
[[ $allow_mixed_web != 0 ]] && bash .gp/bash/directives/allow-mixed-web.sh

# Add Workspace/Project composer bin folder to $PATH
sudo chown gitpod:gitpod $HOME/.config/composer
mkdir -p $HOME/.config/composer/vendor/bin
export PATH="$PATH:$HOME/.config/composer/vendor/bin:$GITPOD_REPO_ROOT/vendor/bin"

# Cleanup
Expand Down

0 comments on commit bba7928

Please sign in to comment.