mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-27 10:03:08 +02:00
Pmodules/modbuild
- bugfix in setting target option - define variable 'V_PKG' as version of the source package
This commit is contained in:
+2
-1
@@ -230,7 +230,7 @@ while (( $# > 0 )); do
|
||||
with_modules+=( ${m} )
|
||||
;;
|
||||
--prep | --configure | --compile | --install | --all )
|
||||
target=$1
|
||||
target=${1:2}
|
||||
;;
|
||||
--system )
|
||||
OS="$2"
|
||||
@@ -351,6 +351,7 @@ declare V_MINOR=${tmp%%.*}
|
||||
tmp=${tmp#*.}
|
||||
declare V_PATCHLVL=${tmp%%-*}
|
||||
declare V_RELEASE=${tmp#*-}
|
||||
declare V_PKG="${V_MAJOR}.${V_MINOR}.${V_PATCHLVL}"
|
||||
|
||||
P=$(basename $(dirname "${BUILD_BLOCK}"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user