summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2015-09-30 04:21:34 (GMT)
committerTony Theodore <tonyt@logyst.com>2015-09-30 04:21:34 (GMT)
commit7996642c4b7e4a622b228677465f847321efd5c0 (patch)
treeb2e7d1bef2460062c4717aafc78291b988492f7b
parent97553b65c2d37ec1f36d84eaff171ea2b88d6af4 (diff)
downloadmxe-7996642c4b7e4a622b228677465f847321efd5c0.zip
mxe-7996642c4b7e4a622b228677465f847321efd5c0.tar.gz
mxe-7996642c4b7e4a622b228677465f847321efd5c0.tar.bz2
Revert "Make CHECK_PKG_ARCHIVE return true for packages without files"
This reverts commit e474e772442d6207980268189b0255f2d7a15e96.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8584bfc..dbb7f30 100644
--- a/Makefile
+++ b/Makefile
@@ -171,7 +171,7 @@ PKG_CHECKSUM = \
openssl sha256 '$(PKG_DIR)/$($(1)_FILE)' 2>/dev/null | $(SED) -n 's,^.*\([0-9a-f]\{64\}\)$$,\1,p'
CHECK_PKG_ARCHIVE = \
- [ -z '$($(1)_FILE)' ] || [ '$($(1)_CHECKSUM)' == "`$$(call PKG_CHECKSUM,$(1))`" ]
+ [ '$($(1)_CHECKSUM)' == "`$$(call PKG_CHECKSUM,$(1))`" ]
ESCAPE_PKG = \
echo '$($(1)_FILE)' | perl -lpe 's/([^A-Za-z0-9])/sprintf("%%%02X", ord($$$$1))/seg'