]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - setup.sh
setup.sh: Use simple_cpp() instead of m4 to create gitconfig.
[config/dotfiles.git] / setup.sh
index 4b5fc72b8e3b2b05eb1d02c9a9ae90f0f76556d2..06585379f22d3460fc2d227fe736a735f66dd6eb 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -30,10 +30,8 @@ if installed git; then
         PATIENCE=--patience
     fi
 
-    generate gitconfig .m4 m4 \
-        -DPATIENCE="$PATIENCE" \
-        -DOS=`os` \
-        -DPWD="`pwd`"
+    generate gitconfig .in simple_cpp \
+        PATIENCE PWD -- "$PATIENCE" "`pwd`"
     link gitconfig ~/.gitconfig
 fi
 
@@ -42,8 +40,6 @@ if installed tig; then
 fi
 
 if installed hg; then
-    generate hgrc .m4 m4 \
-        -DOS=`os`
     link hgrc ~/.hgrc
 fi