X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=setup.sh;h=c61c00dcdfbc8d97f4fc16c08a860bc6a60ff532;hb=469dfb554f9ee2f50c6df74372342abe8a229c0c;hp=0ef9e6af12dcdc7067a3195ef52abd6296a6ba98;hpb=2eef5463417d581034bfbacb016114d0a5be3434;p=config%2Fdotfiles.git diff --git a/setup.sh b/setup.sh index 0ef9e6a..c61c00d 100755 --- a/setup.sh +++ b/setup.sh @@ -2,7 +2,7 @@ # Setup script for VCS configuration files. -# Copyright (C) 2011-2012 Simon Ruderich +# Copyright (C) 2011-2013 Simon Ruderich # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -18,6 +18,8 @@ # along with this program. If not, see . +set -e + . ../lib.sh if installed git; then @@ -28,9 +30,9 @@ if installed git; then fi generate m4 gitconfig \ - -DGITIGNORE=`pwd`/gitignore \ -DPATIENCE="$PATIENCE" \ - -DOS=`os` + -DOS=`os` \ + -DPWD="`pwd`" link gitconfig ~/.gitconfig fi @@ -40,7 +42,6 @@ fi if installed hg; then generate m4 hgrc \ - -DHGIGNORE=`pwd`/hgignore \ -DOS=`os` link hgrc ~/.hgrc fi