ltp: allow to set LTP_INSTALL_PATH
diff --git a/automated/linux/ltp/ltp.sh b/automated/linux/ltp/ltp.sh
index 9ce7256..528a86e 100755
--- a/automated/linux/ltp/ltp.sh
+++ b/automated/linux/ltp/ltp.sh
@@ -39,6 +39,7 @@
[-d temp directory]
[-g branch]
[-e environment]
+ [-i install path]
[-s True|False]
[-v LTP_VERSION]
[-M Timeout_Multiplier]
@@ -50,7 +51,7 @@
exit 0
}
-while getopts "M:T:S:b:d:g:e:s:v:R:u:p:t:" arg; do
+while getopts "M:T:S:b:d:g:e:i:s:v:R:u:p:t:" arg; do
case "$arg" in
T)
TST_CMDFILES="${OPTARG}"
@@ -96,6 +97,9 @@
e)
export ENVIRONMENT="${OPTARG}"
;;
+ i)
+ export LTP_INSTALL_PATH="${OPTARG}"
+ ;;
# SKIP_INSTALL is true in case of Open Embedded builds
# SKIP_INSTALL is flase in case of Debian builds
s) SKIP_INSTALL="${OPTARG}";;