X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ybin%2Fybin;h=82ddda56c071ef21eaba1b4da8cfb0e3d21d4cc0;hb=1aa69fb0cd1252fd3f051e4bbfa717bb3daed8c3;hp=6b5d4c8304cc844f618ca4145dc157a8b7983b6a;hpb=83e9d6ed91d623822919c0c8d8a1496b4c5b6f4c;p=yaboot.git diff --git a/ybin/ybin b/ybin/ybin index 6b5d4c8..82ddda5 100755 --- a/ybin/ybin +++ b/ybin/ybin @@ -28,7 +28,7 @@ if [ -n "$PATH_PREFIX" ] ; then fi PRG="${0##*/}" SIGINT="$PRG: Interrupt caught ... exiting" -VERSION=1.3.7 +VERSION=1.3.8-UNSUPPORTED_DEVEL_DO_NOT_DISTRIBUTE DEBUG=0 VERBOSE=0 TMP="${TMPDIR:-/tmp}" @@ -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