]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
add OR (-o) to find in 'clean' target of Rules.make
authorHarald Welte <laforge@gnumonks.org>
Tue, 31 Jul 2001 20:51:31 +0000 (20:51 +0000)
committerHarald Welte <laforge@gnumonks.org>
Tue, 31 Jul 2001 20:51:31 +0000 (20:51 +0000)
Rules.make

index 56b482a911b005d9d7cd19b6e9635cf319d8eb2a..7c84143fe6a1d00712f70d8b26bdfd86bd8eb2e0 100644 (file)
@@ -7,7 +7,7 @@ experimental: $(EXTRAS_EXP)
 # Have to handle extensions which no longer exist.
 clean: $(EXTRA_CLEANS)
        rm -f $(SHARED_LIBS) $(EXTRAS) $(EXTRAS_EXP) $(SHARED_LIBS:%.so=%_sh.o)
-       @find . -name '*.[ao]' -name '*.so' | xargs rm -f
+       @find . -name '*.[ao]' -o -name '*.so' | xargs rm -f
 
 install: all $(EXTRA_INSTALLS)
        @if [ -f /usr/local/bin/iptables -a "$(BINDIR)" = "/usr/local/sbin" ];\