From 9ed102115fa6cc661c8d7c7565f426a87ff0aeae Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 7 Jun 2009 13:03:04 +0200 Subject: bootstrap: setopt err_exit --- include/bootstrap | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/bootstrap') 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 -- cgit v1.2.3