update make package shell
This commit is contained in:
@@ -11,6 +11,7 @@ usage() {
|
|||||||
echo " -m, =be|fe|all be: only process back-end code, default if non input"
|
echo " -m, =be|fe|all be: only process back-end code, default if non input"
|
||||||
echo " fe: only process front-end code"
|
echo " fe: only process front-end code"
|
||||||
echo " all: process all include be and fe"
|
echo " all: process all include be and fe"
|
||||||
|
echo " -c, =ba ba: customized for BA OMC"
|
||||||
}
|
}
|
||||||
|
|
||||||
pkgtype=""
|
pkgtype=""
|
||||||
@@ -50,9 +51,9 @@ while getopts "m:r:c:d" option; do
|
|||||||
;;
|
;;
|
||||||
c)
|
c)
|
||||||
c_arg=$(echo $OPTARG | tr '[:upper:]' '[:lower:]')
|
c_arg=$(echo $OPTARG | tr '[:upper:]' '[:lower:]')
|
||||||
if [ "c_arg" == "ba" ]; then
|
if [ "${c_arg}" == "ba" ]; then
|
||||||
pkgtype="badeb"
|
pkgtype="badeb"
|
||||||
be_args+=("$pkgtype")
|
be_args+=("${pkgtype}")
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
\?)
|
\?)
|
||||||
|
|||||||
Reference in New Issue
Block a user