[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rm -f

From: Patrick Welche
Subject: rm -f
Date: Fri, 14 Dec 2007 16:19:55 +0000
User-agent: Mutt/1.5.14 (2007-03-22)

I am seeing trivial test failures just because

% rm -f
usage: rm [-f|-i] [-dPRrvW] file ...


> / eval '$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o "$rel"s
ub2/ "$rel"sub/a.lo' $linkargs
> stderr:
> usage: rm [-f|-i] [-dPRrvW] file ...
> stdout:
> libtool: link: rm -fr  sub2/.libs/liba.a sub2/.libs/
> libtool: link: generating symbol list for `'
> libtool: link: using reloadable object file for export list...
> libtool: link: creating reloadable object files...
> libtool: link: generating symbol list for `'
> libtool: link: creating a temporary reloadable object file: sub2/.libs/
> libtool: link: /usr/bin/ld -r -o sub2/.libs/ sub/.libs/a.o 
> libtool: link: rm -f 
> / exit code was 1, expected 0
> 55. 55. Link option thorough search test (

There already is a safety check in libtool at

      # Don't error if the file doesn't exist and rm -f was used.

but then there are all the cases where $RM is used. Invent a shell
function which does rm -f if its argument isn't empty?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]