1
0

update make package shell

This commit is contained in:
2024-11-07 14:57:42 +08:00
parent 121cbea72e
commit b8c1740875

View File

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