Fixed missing product name prefix in control
This commit is contained in:
@@ -55,7 +55,7 @@ pkgType="default"
|
|||||||
weblinks=()
|
weblinks=()
|
||||||
|
|
||||||
# Read command flags
|
# Read command flags
|
||||||
while getopts ":d:g:n:t:e:u:i:v:l:" flag
|
while getopts ":d:g:n:t:e:u:i:v:l:h:" flag
|
||||||
do
|
do
|
||||||
case "${flag}" in
|
case "${flag}" in
|
||||||
d) productDescription="${OPTARG}";;
|
d) productDescription="${OPTARG}";;
|
||||||
@@ -69,6 +69,7 @@ do
|
|||||||
l) weblinks+=("${OPTARG}");;
|
l) weblinks+=("${OPTARG}");;
|
||||||
*)
|
*)
|
||||||
echo "Unrecognized option '${flag}'"
|
echo "Unrecognized option '${flag}'"
|
||||||
|
h)
|
||||||
usage
|
usage
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
@@ -124,7 +125,7 @@ cat >control <<EOF
|
|||||||
[Product]
|
[Product]
|
||||||
type: localboot
|
type: localboot
|
||||||
id: ${productId}
|
id: ${productId}
|
||||||
name: ${productName}
|
name: ${fullProductName}
|
||||||
description: ${productDescription}
|
description: ${productDescription}
|
||||||
version: ${programVersion}
|
version: ${programVersion}
|
||||||
packageVersion: 1.0
|
packageVersion: 1.0
|
||||||
|
|||||||
Reference in New Issue
Block a user