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
|
|