Created
May 9, 2014 00:32
-
-
Save craiglittle/d7ac53b4706bedadace2 to your computer and use it in GitHub Desktop.
Helper script with vagrant-exec
This file contains 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
# Execute a command in the synced subdirectory | |
#! /bin/sh | |
set -e | |
REPO=$(basename `pwd`) | |
vagrant exec "${@}" "code/${REPO}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment