ossp-pkg/shtool/sh.path 1.18 -> 1.19
--- sh.path 2001/01/17 09:55:11 1.18
+++ sh.path 2001/08/04 15:43:22 1.19
@@ -80,7 +80,7 @@
# MAGIC SITUATION
# Perl Interpreter (perl)
if [ ".$opt_m" = .yes -a ".$namelist" = .perl ]; then
- rm -f $tmpfile
+ rm -f $tmpfile >/dev/null 2>&1
touch $tmpfile
found=0
pc=99
@@ -100,10 +100,11 @@
done
if [ $found = 1 ]; then
perl="`cat $tmpfile | sort -u | tail -1 | cut -d: -f4`"
- rm -f $tmpfile
+ rm -f $tmpfile >/dev/null 2>&1
echo "$perl"
exit 0
fi
+ rm -f $tmpfile >/dev/null 2>&1
exit 1
fi
@@ -140,7 +141,8 @@
fi
fi
fi
- rm -f $tmpfile.c $tmpfile.out
+ rm -f $tmpfile >/dev/null 2>&1
+ rm -f $tmpfile.c $tmpfile.out >/dev/null 2>&1
if [ ".$cpp" != . ]; then
echo "$cpp"
exit 0
|
|