iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
better alerts
[distro-setup]
/
schrootupdate
diff --git
a/schrootupdate
b/schrootupdate
index 280095d0bbd23554a534959ba2792a4f11b17653..832b0157def6d9bd9bc5d75df59a2308befb264a 100755
(executable)
--- a/
schrootupdate
+++ b/
schrootupdate
@@
-3,7
+3,7
@@
set -eE -o pipefail
trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
set -eE -o pipefail
trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
-[[ $EUID == 0 ]] || exec sudo -E "$
BASH_SOURCE
" "$@"
+[[ $EUID == 0 ]] || exec sudo -E "$
{BASH_SOURCE[0]}
" "$@"
for n in stretch jessie; do
if [[ -e /etc/schroot/chroot.d/$n.conf ]]; then
for n in stretch jessie; do
if [[ -e /etc/schroot/chroot.d/$n.conf ]]; then