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)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4772 3c298f89-4303-0410-b956-a3cf2f4a3e73

include/package.mk

index bea0428..ef1fc48 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