X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=install-chboot;h=acb6531f835a1888963070e41ea42215ae0309dc;hp=69f46dfb99848bbbdd6641a98ae15108d0df165a;hb=6ca069946c8ff88d79d1ae421e0eda60ae1c514c;hpb=875cea0c266c7802b336f5a8b61b63e109e670fb diff --git a/install-chboot b/install-chboot index 69f46df..acb6531 100755 --- a/install-chboot +++ b/install-chboot @@ -17,11 +17,8 @@ [[ $EUID == 0 ]] || exec sudo -E "$BASH_SOURCE" "$@" -set -eE -o pipefail -trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR - - -x=$(readlink -f "$BASH_SOURCE"); cd ${x%/*} +x="$(readlink -f "$BASH_SOURCE")"; source "${x%/*}/bash-trace" +cd ${x%/*} usage() { cat <