From d86bad80996b986173c73c6a7bc2a072f1df3bdf Mon Sep 17 00:00:00 2001 From: lace <> Date: Fri, 13 Oct 2006 21:46:19 +0000 Subject: [PATCH 1/1] +Compatibility: bash-2.0/RHEL3 --- boot | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/boot b/boot index 63fcf5a..fd56b32 100755 --- 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 -- 1.8.3.1