OSSP CVS Repository

ossp - Difference in ossp-pkg/shtool/sh.path versions 1.21 and 1.22
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/shtool/sh.path 1.21 -> 1.22

--- sh.path      2001/12/31 15:06:04     1.21
+++ sh.path      2002/02/23 09:18:03     1.22
@@ -100,7 +100,7 @@
         pc=`expr $pc - 1`
     done
     if [ $found = 1 ]; then
-        perl="`cat $tmpfile | sort -u | tail -1 | cut -d: -f4`"
+        perl="`cat $tmpfile | sort -r -u | sed -e 'q' | cut -d: -f4`"
         rm -f $tmpfile >/dev/null 2>&1
         echo "$perl"
         exit 0

CVSTrac 2.0.1