Changeset 13870


Ignore:
Timestamp:
2009-01-05T09:48:55+01:00 (7 years ago)
Author:
jow
Message:

packages/libs/file: make sure to remove magic.mime before regenerating it (#4422)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/file/Makefile

    r13407 r13870  
    8080        $(INSTALL_DIR) $(1)/usr/share/file 
    8181        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/file $(1)/usr/bin 
    82         (cd $(PKG_BUILD_DIR)/magic/Magdir; for file in `ls`; do cat $$$${file} >> magic.mime; done) 
     82        (cd $(PKG_BUILD_DIR)/magic/Magdir; rm -f magic.mime; for file in `ls`; do cat $$$${file} >> magic.mime; done) 
    8383        $(INSTALL_DATA) $(PKG_BUILD_DIR)/magic/Magdir/magic.mime $(1)/usr/share/file/magic 
    8484endef 
Note: See TracChangeset for help on using the changeset viewer.