Permalink
Browse files

Adding static shell script to create symlinks

  • Loading branch information...
Sgoettschkes committed Apr 3, 2013
1 parent 7a126fd commit deb2e26fd83555ce80d06437f03bff2424b2a9ee
Showing with 12 additions and 0 deletions.
  1. +12 −0 bootstrap.sh
View
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+create_link () {
+ if [ ! -f $2 ]; then
+ ln -s $1 $2
+ fi
+}
+
+BASEPATH=`pwd`
+
+create_link $BASEPATH/git/gitconfig ~/.gitconfig
+create_link $BASEPATH/git/gitignore ~/.gitignore

0 comments on commit deb2e26

Please sign in to comment.