git://git.jankratochvil.net
/
nethome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
+Compatibility: bash-2.0/RHEL3
[nethome.git]
/
boot
diff --git
a/boot
b/boot
index
63fcf5a
..
fd56b32
100755
(executable)
--- a/
boot
+++ b/
boot
@@
-5,6
+5,11
@@
set -e
abs="${BASH_SOURCE[0]}"
+# bash-2.0 (RHEL3)
+if [ -z "$abs" ];then
+ abs="$PWD"
+ echo >&2 "WARNING: Defaulting to: HOME=$abs"
+fi
if [ "$abs" = "${abs#/}" ];then
abs="$PWD/$abs"
fi