Skip to content

Commit

Permalink
Fix hal content redirection during install (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
lwander committed Feb 2, 2017
1 parent 5ced41d commit bd5aa4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions halyard-web/pkg_scripts/postInstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ if [ -z `getent passwd spinnaker` ]; then
fi


sudo echo '#!/usr/bin/env bash' > sudo /usr/local/bin/hal
sudo echo '/opt/halyard/bin/hal "$@"' >> sudo /usr/local/bin/hal
echo '#!/usr/bin/env bash' | sudo tee /usr/local/bin/hal
echo '/opt/halyard/bin/hal "$@"' | sudo tee -a /usr/local/bin/hal

chmod +x /usr/local/bin/hal

Expand Down

0 comments on commit bd5aa4e

Please sign in to comment.