summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-06-07 13:03:04 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-06-07 13:03:04 +0200
commit9ed102115fa6cc661c8d7c7565f426a87ff0aeae (patch)
treef801e4eba3a4d5e395b243c2b888f7ee68788a50 /include
parenta152987a4358e8e05618098fa26db5cfa617f572 (diff)
bootstrap: setopt err_exit
Diffstat (limited to 'include')
-rwxr-xr-xinclude/bootstrap3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/bootstrap b/include/bootstrap
index acaadb5..e1a41f6 100755
--- a/include/bootstrap
+++ b/include/bootstrap
@@ -5,6 +5,7 @@
# This way, I don't have to check for zsh somewhere in the script,
# and also have an excuse for using zsh here :P
+setopt err_exit
typeset -i rcempty=0
typeset PKG_ROOT PKG_DIR default_path='~/packages'
: ${XDG_CONFIG_HOME=$HOME/.config}
@@ -46,7 +47,7 @@ fi
echo 'Fetching the core package...'
cd $PKG_DIR
git clone $PKG_ROOT/core
-cd core || exit 1
+cd core
echo 'Writing pkg.conf'
mkdir -p $XDG_CONFIG_HOME/pkg