Created
November 23, 2016 15:54
-
-
Save siassaj/fee11c4635c41a68c3f70a1ef5e7e391 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local CMD=$(cat <<-EOF | |
| source /etc/profile.d/chruby.sh && | |
| chruby ruby-2.3.1 && | |
| cd /var/app/current/ && | |
| $SCRIPT | |
| EOF | |
| ) | |
| if [ "$USER" == $RUNAS ]; then | |
| `$CMD` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment