From 0229353d90dc79bd1fff9eab16e0daee33bf10b3 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 18 Feb 2014 18:08:59 -0300 Subject: Fix sandbox script --- sandbox | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'sandbox') diff --git a/sandbox b/sandbox index a868c36..110cb86 100755 --- a/sandbox +++ b/sandbox @@ -23,9 +23,13 @@ if [ ! -z "$REPO" ]; then else echo "Initializing $PROJECT..." mkdir -p $CODE/$PROJECT - touch .gitignore - git init - git add . + + ( + cd $CODE/$PROJECT + touch .gitignore + git init + git add . + ) fi # Vagrant integration -- cgit v1.2.3