Add preliminary support for Windtunnel PowerMacs to ofpath
[yaboot.git] / ybin / ybin
index 6b5d4c8304cc844f618ca4145dc157a8b7983b6a..82ddda56c071ef21eaba1b4da8cfb0e3d21d4cc0 100755 (executable)
--- 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