iankelling.org
/
git
/
automated-distro-installer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixes mostly for bootstrap vol, better docs
[automated-distro-installer]
/
install-chboot
diff --git
a/install-chboot
b/install-chboot
index 838c0ae02e63565a37963088f8c65490734dc45d..d066101642454420d7664649dbc1f9fc88d61104 100755
(executable)
--- a/
install-chboot
+++ b/
install-chboot
@@
-24,7
+24,7
@@
trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
# in case there is an issue booting and it is needed.
# Run this when chboot changes.
-cd "${BASH_SOURCE%/*}"
+x=$(readlink -f "$BASH_SOURCE"); cd ${x%/*}
e() { echo "$@"; "$@"; }