Skip to content

Commit

Permalink
Fixed the linux/osx space fix (during repo creation).
Browse files Browse the repository at this point in the history
  • Loading branch information
Péter Szilágyi committed Dec 20, 2010
1 parent 9b405f1 commit 50aaefd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gitbox.sh
Expand Up @@ -74,11 +74,11 @@ elif [ "$1" == 'create' ]; then

echo "Enjoy your GitBox repository" > $checkout/README
cur_dir=`pwd`
cd $checkout
cd "$checkout"
git add README
git commit --quiet -m "Created the repository" 2>/dev/null
git push gitbox master 1>&2 2>/dev/null
cd $cur_dir
cd "$cur_dir"

rm -r -f $checkout
echo "Repository successfully created."
Expand Down

0 comments on commit 50aaefd

Please sign in to comment.