Fixed argument parsing in run script
Replaced += with = when adding arguments to the testrargs string to prevent the script from doubling in length with each additional argument. Change-Id: If0ab41d6062c83cee50f830ffd9428c1302fd997 Closes-Bug: #1325405
This commit is contained in:
parent
4ca52f660d
commit
866079825c
@ -58,7 +58,7 @@ while [ $# -gt 0 ]; do
|
|||||||
-l|--logging) logging=1;;
|
-l|--logging) logging=1;;
|
||||||
-L|--logging-config) logging_config=$2; shift;;
|
-L|--logging-config) logging_config=$2; shift;;
|
||||||
--) [ "yes" == "$first_uu" ] || testrargs="$testrargs $1"; first_uu=no ;;
|
--) [ "yes" == "$first_uu" ] || testrargs="$testrargs $1"; first_uu=no ;;
|
||||||
*) testrargs+="$testrargs $1";;
|
*) testrargs="$testrargs $1";;
|
||||||
esac
|
esac
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user