stoken: Fix binary installation 2911/head
authorFlorian Fainelli <florian@openwrt.org>
Thu, 30 Jun 2016 05:41:44 +0000 (22:41 -0700)
committerFlorian Fainelli <florian@openwrt.org>
Thu, 30 Jun 2016 17:36:57 +0000 (10:36 -0700)
We were copying a wrapper script instead of the actual executable.

Fixes #2910

Signed-off-by: Florian Fainelli <florian@openwrt.org>
utils/stoken/Makefile

index 7fcbdad7f4b6f421eff170fc7d1c6c1bae969650..fb5464d54e8018e4ffec782eff9560e1607304ce 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=stoken
 PKG_VERSION:=0.8
 PKG_REV:=c4d79ffbf5053e44be4b64da22b1b7fb6a51daf2
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/cernekee/stoken.git
@@ -65,7 +65,7 @@ endef
 
 define Package/stoken/install
        $(INSTALL_DIR) $(1)/usr/bin
-       $(INSTALL_BIN) $(PKG_BUILD_DIR)/stoken $(1)/usr/bin/
+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/stoken $(1)/usr/bin/
 endef
 
 define Package/libstoken/install