fix[script]: fix shift clear input parameter error

Change-Id: Ia48238e47d110fd049788b3d2abd86d5f69aa0b0
Signed-off-by: xueman.ruan <xueman.ruan@rock-chips.com>
This commit is contained in:
xueman.ruan
2023-11-02 16:46:40 +08:00
committed by Herman Chen
parent 3b27843844
commit a4b66352f1
2 changed files with 8 additions and 14 deletions

View File

@@ -9,13 +9,10 @@ ANDROID_ABI="armeabi-v7a with NEON"
#Specify cmake if needed
#CMAKE_PROGRAM=
while [ $# -gt 0 ]; do
case $1 in
-c)
clear
;;
esac
shift
for ARG in "$@"; do
if [[ "$ARG" == "-c" ]]; then
clear
fi
done
source ../env_setup.sh