- Sync BrotliCompress script the same style with BrotliCompress.bat
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Bell Song <binx.song@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
-while [ $# != 0 ];do
- case $1 in
- -d)
+for arg; do
+ if [ $1 = -d ]
+ then
+ fi
+ if [ $1 = -e ]
+ then
+ shift
+ continue;
+ fi
+ if [ $1 = -g ]
+ then
+ shift
+ continue;
+ fi
+ if [ $1 = -o ]
+ then
+ shift
+ continue;
+ fi
+ if [ $1 = -q ]
+ then
- ;;
- *)
- if [ $INPUTFLAG -eq 1 ]
- then
- if [ -z $2 ]
- then
- ARGS+="$QLT -i $1 "
- break;
- fi
+ shift
+ continue;
+ fi
+ if [ $INPUTFLAG -eq 1 ]
+ then
+ if [ -z $2 ]
+ then
+ ARGS+="$QLT -i $1 "
+ break;