]> 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 703f27d29ece80f6ce8e3e79d06fdffaac9eaad2..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