# 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
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+set -e
+
. ../lib.sh
if installed git; then
fi
generate m4 gitconfig \
- -DGITIGNORE=`pwd`/gitignore \
-DPATIENCE="$PATIENCE" \
- -DOS=`os`
+ -DOS=`os` \
+ -DPWD="`pwd`"
link gitconfig ~/.gitconfig
fi
if installed hg; then
generate m4 hgrc \
- -DHGIGNORE=`pwd`/hgignore \
-DOS=`os`
link hgrc ~/.hgrc
fi