1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-21 03:12:48 +02:00

use rm, not $RM

This commit is contained in:
Jim Meyering
2000-05-03 11:09:07 +00:00
parent 93e3e3a5a8
commit c2262fcd90

View File

@@ -1,12 +1,11 @@
#!/bin/sh
: ${RM=rm}
test=r-2
: ${TMPDIR=.}
if test "$VERBOSE" = yes; then
$RM --version
rm --version
set -x
fi
@@ -34,7 +33,7 @@ EOF
# Note that both the expected output (above) and the actual output lines
# are sorted, because directory entries may be processed in arbitrary order.
fail=0
$RM --verbose -r $tmp/a | sort > $tmp/$test.O || fail=1
rm --verbose -r $tmp/a | sort > $tmp/$test.O || fail=1
if test -d $tmp/a; then
fail=1