From 8be35c3ba143befdd5f2cd048bb18d7103118fa3 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 27 Dec 2018 12:18:47 -0500 Subject: Makefile.am: Fix PACKAGE_VERSION_GIT opkbuild's tags have used "-", not "/", to separate the package name and version. --- (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 5d7e6c3..1c680b2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,7 +18,7 @@ # along with opkbuild. If not, see . if IN_GIT -PACKAGE_VERSION_GIT = $$(git describe --tags --dirty | sed 's|^.*/||') +PACKAGE_VERSION_GIT = $$(git describe --tags --dirty | sed 's|^[^/-]*[/-]||') else PACKAGE_VERSION_GIT = $(PACKAGE_VERSION) endif -- cgit v0.9.1