Guest User

Untitled

a guest
Feb 19th, 2018
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.01 KB | None | 0 0
  1. commit 16ebfd347ae3d62d75012658042780f71ecebca9
  2. Author: nico <nico@openwrt.org>
  3. Date:   Wed Oct 26 01:58:17 2011 +0200
  4.  
  5.     include/package-ipkg.mk: fix typo
  6.    
  7.     Fix a typo that caused packaging of an empty ./lib/upgrade/keep.d
  8.     directory when the package supplied conffiles
  9.  
  10. diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk
  11. index 33b9ef8..9eec4f2 100644
  12. --- a/include/package-ipkg.mk
  13. +++ b/include/package-ipkg.mk
  14. @@ -123,7 +123,7 @@ ifeq ($(DUMP),)
  15.                         for x in $$(KEEP_$(1)); do \
  16.                                 [ -f "$$(IDIR_$(1))/$$$$x" ] || keepfiles="$$$${keepfiles:+$$$$keepfiles }$$$$x"; \
  17.                         done; \
  18. -                       [ -z "$keepfiles" ] || { \
  19. +                       [ -z "$$$$keepfiles" ] || { \
  20.                                 mkdir -p $$(IDIR_$(1))/lib/upgrade/keep.d; \
  21.                                 for x in $$$$keepfiles; do echo $$$$x >> $$(IDIR_$(1))/lib/upgrade/keep.d/$(1); done; \
  22.                         }; \
Add Comment
Please, Sign In to add comment