add quotes to ipkg name in the rebuild check
authorFelix Fietkau <nbd@openwrt.org>
Thu, 7 Sep 2006 16:50:27 +0000 (16:50 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 7 Sep 2006 16:50:27 +0000 (16:50 +0000)
SVN-Revision: 4772

openwrt/include/package.mk

index bea0428129ede8090086e32ef7f2e2b470bd04ad..ef1fc48ec83dd6f9a514bce1d5b6decc6e3a8c1c 100644 (file)
@@ -239,7 +239,7 @@ define BuildPackage
   ifneq ($$(CONFIG_PACKAGE_$(1)),)
     ifneq ($(MAKECMDGOALS),prereq)
       ifneq ($(DUMP),1)
-        ifneq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p -x ipkg -x ipkg-install $$(IPKG_$(1)) $(PKG_BUILD_DIR)),$$(IPKG_$(1)))
+        ifneq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p -x ipkg -x ipkg-install '$$(IPKG_$(1))' '$(PKG_BUILD_DIR)'),$$(IPKG_$(1)))
           _INFO+=$(subst $(TOPDIR)/,,$$(IPKG_$(1)))
           $(PKG_BUILD_DIR)/.built: package-rebuild
         endif