From 04ae63915e9f767750d01af76b7e1c022a400bb1 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Fri, 16 Mar 2007 21:32:59 +0000
Subject: [PATCH] fix a small bug in the unpack code

SVN-Revision: 6587
---
 include/unpack.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/unpack.mk b/include/unpack.mk
index e195f316f6..b8349c9ca4 100644
--- a/include/unpack.mk
+++ b/include/unpack.mk
@@ -42,7 +42,7 @@ ifeq ($(strip $(PKG_UNPACK)),)
   endif
  
   # compatibility code for packages that set PKG_CAT
-  ifeq ($(strip $(PKG_CAT)$(PKG_UNPACK)),)
+  ifeq ($(strip $(PKG_UNPACK)),)
     # use existing PKG_CAT
     PKG_UNPACK:=$(PKG_CAT) $(DL_DIR)/$(PKG_SOURCE) | $(TAR_CMD)
     ifeq ($(PKG_CAT),unzip)
-- 
GitLab