OSSP CVS Repository

ossp - Difference in ossp-pkg/due/.due/due.util.sh versions 1.2 and 1.3
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/due/.due/due.util.sh 1.2 -> 1.3

--- due.util.sh  2004/10/22 19:32:52     1.2
+++ due.util.sh  2004/10/22 21:17:44     1.3
@@ -118,8 +118,8 @@
     local tool=""
     local name
     for name in "$@"; do
-        tool=`type -p $name`
-        if [ -n $tool ]; then
+        if [ ".`type -p $name`" != . ]; then
+            tool="$name"
             break
         fi
     done

CVSTrac 2.0.1