iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
host info updates
[distro-setup]
/
mount-latest-remote
diff --git
a/mount-latest-remote
b/mount-latest-remote
index 33633111b6f47b1b00ca5af3a1c20e4682cb5081..f63a6f7954da3df926aabdf6560c75e9bd5abece 100755
(executable)
--- a/
mount-latest-remote
+++ b/
mount-latest-remote
@@
-26,8
+26,8
@@
set -e; . /usr/local/lib/bash-bear; set +e
set -e; . /usr/local/lib/bash-bear; set +e
-readonly this_file; this_file="$(readlink -f -- "${BASH_SOURCE[0]}")";
-script_dir=${this_file%/*}
+this_file="$(readlink -f -- "${BASH_SOURCE[0]}")"
+readonly this_file script_dir="${this_file%/*}"
if (( ! $# )); then
echo "mount-latest-remote: error: a host argument"
if (( ! $# )); then
echo "mount-latest-remote: error: a host argument"