packages/net/apcupsd/patches/100-dont_nuke_prepared.patch
florian ece766be58 Do not rebuild apcupsd (#4269)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-29 15:17:40 +00:00

12 lines
407 B
Diff

--- apcupsd-3.14.2/Makefile.in-orig 2008-11-29 00:54:14.000000000 -0800
+++ apcupsd-3.14.2/Makefile.in 2008-11-29 00:59:59.000000000 -0800
@@ -372,7 +372,7 @@
(cd examples; $(MAKE) clean)
clean: example_clean targetclean
- find . -type f -size 0 -exec $(RMF) {} \;
+ find . -type f -size 0 ! -name '.prepared_*' -exec $(RMF) {} \;
example_distclean: example_clean
(cd examples; $(MAKE) distclean)