summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-04 02:34:48 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-04 02:34:48 (EDT)
commit85a865a96e9156ac973e81a070cc1fe744dbc432 (patch)
treeadd3c2bad3906b7b4c892f5cfa97c76ac56df5de
parent8d3d7d3942fd7621a378c613a3a7b255571fa3a7 (diff)
source.mk: Fix version string sed command
-rw-r--r--source.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/source.mk b/source.mk
index 5718bec..38fa1bd 100644
--- a/source.mk
+++ b/source.mk
@@ -1,7 +1,7 @@
# Reference only -- requires git, not yet in ProteanOS
upstream_commit = $$(printf '%s\n' '$(OPK_SOURCE_VERSION_UPSTREAM)' | \
- sed 's/^.*~git........\.\([0-9a-f]*\).*$$/\1/')
+ sed 's/^.*+git........\.\([0-9a-f]*\).*$$/\1/')
upstream_git_uri = https://git.openwrt.org/project/$(OPK_SOURCE).git
source_archive = ../$(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.xz