X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ybin%2Fybin;h=82ddda56c071ef21eaba1b4da8cfb0e3d21d4cc0;hb=4182c8620d01b73af5410b7a7bfa19b46e1d956c;hp=062e5eed0a49ff74ab4166d3e0582f0eb40f1111;hpb=e68362d01834e41a4a0e914c2bddbeabea56a1d6;p=yaboot.git diff --git a/ybin/ybin b/ybin/ybin index 062e5ee..82ddda5 100755 --- a/ybin/ybin +++ b/ybin/ybin @@ -3,7 +3,7 @@ ############################################################################### ## ## ybin (YaBoot INstaller) installs/updates the yaboot bootloader. -## Copyright (C) 2000, 2001 Ethan Benson +## Copyright (C) 2000, 2001, 2002 Ethan Benson ## ## This program is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public License @@ -28,7 +28,7 @@ if [ -n "$PATH_PREFIX" ] ; then fi PRG="${0##*/}" SIGINT="$PRG: Interrupt caught ... exiting" -VERSION=1.3.7-UNSUPPORTED_DEVEL_BRANCH +VERSION=1.3.8-UNSUPPORTED_DEVEL_DO_NOT_DISTRIBUTE DEBUG=0 VERBOSE=0 TMP="${TMPDIR:-/tmp}" @@ -132,7 +132,7 @@ echo \ "$PRG $VERSION Written by Ethan Benson -Copyright (C) 2000, 2001 Ethan Benson +Copyright (C) 2000, 2001, 2002 Ethan Benson This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." } @@ -544,7 +544,7 @@ if (command -v readlink > /dev/null 2>&1) ; then else readlink() { - SYMTARGET="$(v=`ls -l "$2" 2>/dev/null` ; echo ${v##*> })" + local SYMTARGET="$(v=`ls -l "$2" 2>/dev/null` ; echo ${v##*> })" if [ -n "$SYMTARGET" ] ; then echo "$SYMTARGET" return 0