Skip to content

Commit

Permalink
Do the cd after su-ing to the user.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Feb 22, 2013
1 parent b933f61 commit 628c7a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/site-specific-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ misuse() {
install_nginx

# Check out the current released version
(cd "$REPOSITORY" && su -l -c "git checkout '$VERSION'" "$UNIX_USER")
su -l -c "cd '$REPOSITORY' && git checkout '$VERSION'" "$UNIX_USER"

install_website_packages

Expand Down

0 comments on commit 628c7a9

Please sign in to comment.