git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99ed054
)
+Compatibility: bash-2.0/RHEL3
author
lace
<>
Fri, 13 Oct 2006 21:46:19 +0000
(21:46 +0000)
committer
lace
<>
Fri, 13 Oct 2006 21:46:19 +0000
(21:46 +0000)
boot
patch
|
blob
|
history
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