ossp-pkg/shtool/sh.path 1.22 -> 1.23
--- sh.path 2002/02/23 09:18:03 1.22
+++ sh.path 2003/02/11 12:56:40 1.23
@@ -62,7 +62,7 @@
done
fi
echo $rp | sed -e 's:/$::'
- exit 0
+ shtool_exit 0
fi
# SPECIAL REQUEST
@@ -70,12 +70,12 @@
if [ ".$opt_d" = .yes ]; then
echo "$namelist" |\
sed -e 's;[^/]*$;;' -e 's;\(.\)/$;\1;'
- exit 0
+ shtool_exit 0
fi
if [ ".$opt_b" = .yes ]; then
echo "$namelist" |\
sed -e 's;.*/\([^/]*\)$;\1;'
- exit 0
+ shtool_exit 0
fi
# MAGIC SITUATION
@@ -103,10 +103,10 @@
perl="`cat $tmpfile | sort -r -u | sed -e 'q' | cut -d: -f4`"
rm -f $tmpfile >/dev/null 2>&1
echo "$perl"
- exit 0
+ shtool_exit 0
fi
rm -f $tmpfile >/dev/null 2>&1
- exit 1
+ shtool_exit 1
fi
# MAGIC SITUATION
@@ -146,9 +146,9 @@
rm -f $tmpfile.c $tmpfile.out >/dev/null 2>&1
if [ ".$cpp" != . ]; then
echo "$cpp"
- exit 0
+ shtool_exit 0
fi
- exit 1
+ shtool_exit 1
fi
# STANDARD SITUATION
@@ -161,9 +161,9 @@
if [ ".$opt_s" != .yes ]; then
echo "$path/$name"
fi
- exit 0
+ shtool_exit 0
fi
done
done
-exit 1
+shtool_exit 1
|
|