diff options
author | Mathias Bynens <mathias@qiwi.be> | 2011-09-29 02:30:44 -0700 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2011-09-29 02:30:44 -0700 |
commit | 14973a58f5d9d97f41664a06a866b75a51b3e84f (patch) | |
tree | 09c129b5faff74cc8d39273b61c8a1c935ee7d4f | |
parent | 6117c55c10703fdcbc19719bc1dcff9f4c5c2379 (diff) | |
parent | 37301ad41aa1d3496e56f57d76b01d5e5297cda9 (diff) | |
download | dotfiles-14973a58f5d9d97f41664a06a866b75a51b3e84f.tar.gz dotfiles-14973a58f5d9d97f41664a06a866b75a51b3e84f.tar.bz2 dotfiles-14973a58f5d9d97f41664a06a866b75a51b3e84f.zip |
Merge pull request #26 from matijs/master
Execute bootstrap.sh from anywhere. Fixes #23.
-rwxr-xr-x | bootstrap.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bootstrap.sh b/bootstrap.sh index d94b378..a359fa6 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,3 +1,5 @@ +#!/bin/bash +cd "$(dirname "$0")"; git pull read -p "This may overwrite existing files in your home directory. Are you sure? (y/n) " -n 1 echo |