Changeset d979a96 in freewrt


Ignore:
Timestamp:
Jan 28, 2007, 6:38:31 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Children:
45c2d26
Parents:
fe8c8c9
Message:
  • pkg-bottom.mk: use single quotes, not double quotes, for the text, as we don't use shell variables inside
  • package.mk: it's not enough to check for /lib/* stuff in ${WRKINST}, we must also check for it in ${IDIR_*} if we want to prevent certain overwrite-and-delete scenarios…

git-svn-id: svn://www.freewrt.org/trunk/freewrt@1791 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
mk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • mk/package.mk

    rfe8c8c9 rd979a96  
    8181        @rm -f '$${STAGING_DIR}/pkg/$(1)'
    8282        @cd $${IDIR_$(1)}; \
    83             find lib usr ! -type d 2>/dev/null | \
     83            find lib \( -name lib\*.so\* -o -name lib\*.a \) \
     84                -exec echo 'WARNING: $${IPKG_$(1)} installs files in /lib -' \
     85                " fix this!" >&2 \; -quit 2>/dev/null; \
     86            find usr ! -type d 2>/dev/null | \
    8487            grep -v -e '^usr/share' -e '^usr/man' -e '^usr/info' | \
    8588            tee '$${STAGING_DIR}/pkg/$(1)' | \
  • mk/pkg-bottom.mk

    rfe8c8c9 rd979a96  
    125125        @cd ${WRKINST}; \
    126126            find lib \( -name lib\*.so\* -o -name lib\*.a \) \
    127                 -exec echo "WARNING: ${PKG_NAME} installs files in /lib - fix this!" >&2 \
    128                 \; -quit 2>/dev/null; \
     127                -exec echo 'WARNING: ${PKG_NAME} installs files in /lib -' \
     128                ' fix this!" >&2 \; -quit 2>/dev/null; \
    129129            find usr ! -type d 2>/dev/null | \
    130130            grep -v -e '^usr/share' -e '^usr/man' -e '^usr/info' | \
Note: See TracChangeset for help on using the changeset viewer.