setup: Stop using `pwd' so often.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 24 Mar 2008 10:48:36 +0000 (10:48 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 24 Mar 2008 10:48:36 +0000 (10:48 +0000)
(Introduced with the gitconfig-generation change.)

setup

diff --git a/setup b/setup
index 48c3afc..132bf7f 100755 (executable)
--- a/setup
+++ b/setup
@@ -198,10 +198,10 @@ echo "    all done."
 echo -n "Installing Git configuration:"
 sed "
 1i\
-### generated by $(pwd)/setup; do not edit!\
+### generated by $(here)/setup; do not edit!\
 
 /@releasekey@/ s::$(./mdw-conf release-key 481334C2):g
-/@gitignore@/ s::$(./mdw-conf gitignore $(pwd)/gitignore):g
+/@gitignore@/ s::$(./mdw-conf gitignore $(here)/gitignore):g
 " gitconfig >$HOME/.gitconfig.new
 mv $HOME/.gitconfig.new $HOME/.gitconfig
 echo " done."