Permalink
Browse files

Do the cd after su-ing to the user.

  • Loading branch information...
1 parent b933f61 commit 628c7a9520668ed89f1a610767f3cc3dbdc9ef2f @dracos dracos committed Feb 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/site-specific-install.sh
@@ -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

0 comments on commit 628c7a9

Please sign in to comment.