X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=archive.sh;h=26a0e8d667fb932068bed15ca2afc56ec4902d09;hb=00b4c91969f0ee1fd7ea4e87a0b0e1ab9407c87c;hp=1cfaf93bbbe03e3490633197429eb2abf0c70366;hpb=5260413e3a3179f51dbedf7b923bcc7ceb6f4bd5;p=config%2Fdotfiles.git diff --git a/archive.sh b/archive.sh index 1cfaf93..26a0e8d 100755 --- a/archive.sh +++ b/archive.sh @@ -21,7 +21,7 @@ # along with this program. If not, see . -set -e +set -eu git_clone() { git clone "$1" "$2" >/dev/null @@ -31,7 +31,7 @@ git_clone() { # Don't overwrite an existing file/directory. if test -e tmp; then - echo "tmp/ already exists!" + echo 'tmp/ already exists!' exit 1 fi