Skip to content

Commit

Permalink
v2ray-core: Set build version to OpenWrt
Browse files Browse the repository at this point in the history
Signed-off-by: kuoruan <kuoruan@gmail.com>
  • Loading branch information
kuoruan committed Feb 14, 2019
1 parent 17b62f8 commit f64ecc5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ $(call Package/v2ray-assets/install,$(1))
$(INSTALL_DIR) $(1)/usr/bin
( \
for component in $(V2RAY_COMPONENTS); do \
$(INSTALL_BIN) $(GO_PKG_BUILD_BIN_DIR)/$$$$component $(1)/usr/bin ; \
$(INSTALL_BIN) $(GO_PKG_BUILD_BIN_DIR)/$$$$component $(1)/usr/bin ; \
done ; \
)
endef
Expand All @@ -134,6 +134,12 @@ endef

define Build/Prepare
$(Build/Prepare/Default)
( \
build="OpenWrt - Release $(PKG_RELEASE)" ; \
sed -i \
"s/\(build[[:space:]]*=[[:space:]]*\"\).*\(\"\)/\1$$$$build\2/" \
$(PKG_BUILD_DIR)/core.go ; \
)
endef

define Build/Compile
Expand Down

0 comments on commit f64ecc5

Please sign in to comment.