From: Silvio Rhatto Date: Tue, 18 Feb 2014 21:08:59 +0000 (-0300) Subject: Fix sandbox script X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=0229353d90dc79bd1fff9eab16e0daee33bf10b3;p=scripts.git Fix sandbox script --- 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