From 1bcefaf287053f23dbb8f9170752857a30a0ba96 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Tue, 16 Oct 2018 14:39:34 +0200 Subject: [PATCH] Pmodules/modbuild: - bugfix in setting the version strings --- Pmodules/modbuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pmodules/modbuild b/Pmodules/modbuild index f0eb0b8..f261a2b 100755 --- a/Pmodules/modbuild +++ b/Pmodules/modbuild @@ -322,7 +322,7 @@ initialize_module_vars() { case "${V_PKG}" in *.*.* ) V_MAJOR="${V_PKG%%.*}" - tmp="${V_PKG%%.*#*.}" + tmp="${V_PKG#*.}" V_MINOR="${tmp%%.*}" V_PATCHLVL="${tmp#*.}" ;;