diff options
author | Mathias Bynens <mathias@qiwi.be> | 2011-09-09 09:27:04 +0300 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2011-09-09 09:27:04 +0300 |
commit | 2866304888dda7a42d6aaa58eed00806e4f9b278 (patch) | |
tree | 955aede9b92a17eaba33ac22fed87e34f8550a36 | |
parent | 916f5f78377c4818ed88819cda497f3598448d9f (diff) | |
download | dotfiles-2866304888dda7a42d6aaa58eed00806e4f9b278.tar.gz dotfiles-2866304888dda7a42d6aaa58eed00806e4f9b278.tar.bz2 dotfiles-2866304888dda7a42d6aaa58eed00806e4f9b278.zip |
Make sure rsync output starts on a new line.
-rwxr-xr-x | bootstrap.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap.sh b/bootstrap.sh index fabc394..2583c9c 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,6 +1,6 @@ git pull read -p "This may overwrite existing files in your home directory. Are you sure? (y/n) " -n 1 +echo if [[ $REPLY =~ ^[Yy]$ ]]; then rsync --exclude ".git/" --exclude ".DS_Store" --exclude "bootstrap.sh" --exclude "README.md" -av . ~ -fi -echo
\ No newline at end of file +fi
\ No newline at end of file |