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#*.}" ;;