fix opkg.conf
authorTravis Kemen <thepeople@openwrt.org>
Wed, 17 Feb 2010 02:34:48 +0000 (02:34 +0000)
committerTravis Kemen <thepeople@openwrt.org>
Wed, 17 Feb 2010 02:34:48 +0000 (02:34 +0000)
SVN-Revision: 19684

package/opkg/Makefile

index 243e0b6..6894ae7 100644 (file)
@@ -70,7 +70,7 @@ define Package/opkg/install
        $(INSTALL_DIR) $(1)/bin
        $(INSTALL_DIR) $(1)/etc
        $(INSTALL_DATA) ./files/opkg.conf $(1)/etc/
-       $(SED) 's,$$$$S,$(TARGET),g' $(1)/etc/opkg.conf
+       $(SED) 's,$$$$S,$(PKGARCH),g' $(1)/etc/opkg.conf
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/opkg-cl $(1)/bin/opkg
 endef