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]
/
wrt-setup-remote
diff --git
a/wrt-setup-remote
b/wrt-setup-remote
index 57e2c599d8b59fb9ae03701b7579f5fffb481ec4..f2948b0e9e171d2d7268d44c4be7ea633d9e8941 100755
(executable)
--- a/
wrt-setup-remote
+++ b/
wrt-setup-remote
@@
-21,7
+21,7
@@
set -eE -o pipefail
trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
-cd "${BASH_SOURCE%/*}"
+x="$(readlink -f "$BASH_SOURCE")"; cd ${x%/*}
h=root@192.168.1.1
scp /a/bin/fai/wrt-setup /a/bin/cedit/cedit $h:/usr/bin