~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
setup: Stop using `pwd' so often.
[profile]
/
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\
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
/@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."
" gitconfig >$HOME/.gitconfig.new
mv $HOME/.gitconfig.new $HOME/.gitconfig
echo " done."