summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjunghyuk.park <junghyuk.park@samsung.com>2018-05-02 10:13:54 +0900
committerjunghyuk.park <junghyuk.park@samsung.com>2018-05-02 10:24:08 +0900
commitf5f9c2464cd6a2f0a22b9f60425f4e119ff46da2 (patch)
tree02c5789b8b7ede927ba6989fa98674cf3d5a3b2a
parent9f91a50f5fd2b9d8aad07f7e93d197acd110a81e (diff)
downloadcoreclr-f5f9c2464cd6a2f0a22b9f60425f4e119ff46da2.tar.gz
coreclr-f5f9c2464cd6a2f0a22b9f60425f4e119ff46da2.tar.bz2
coreclr-f5f9c2464cd6a2f0a22b9f60425f4e119ff46da2.zip
Rename http-user and http-password to url-user and url-password
Change-Id: Ifcd20dd1678fd7333e776833c6e05cd73ee3cd0b
-rwxr-xr-xinstall.sh20
1 files changed, 10 insertions, 10 deletions
diff --git a/install.sh b/install.sh
index 83199c6306..610d6d3e83 100755
--- a/install.sh
+++ b/install.sh
@@ -16,6 +16,8 @@ usage()
echo "--url - You can specify the specific url of packages archive"
echo " like http://165.213.149.200/download/public_mirror/tizen/base/tizen-base_20170520.1/repos/arm/packages/"
echo " Default is a latest repository."
+ echo "--url-user - Specify user for url"
+ echo "--url-password - Specify password for url"
echo "--prefix-dir - You can specify the prefix directory for performing the unittest"
echo " like /opt/usr/coreclr-tc"
echo " Default is '/opt/usr/coreclr-tc'."
@@ -27,8 +29,6 @@ usage()
echo "--uselatesttc - Download a latest unittest file from http://10.113.63.27:8080/"
echo " This option is off by default and use a local unittest file under tc directory."
echo "--tc-url - Download a TC archive file from the specified URL"
- echo "--http-user - Specify http user"
- echo "--http-password - Specify http password"
exit 1
}
@@ -98,11 +98,11 @@ do
--tc-url=*)
tcurl=${i#*=}
;;
- --http-user=*)
- httpuser=${i#*=}
+ --url-user=*)
+ urluser=${i#*=}
;;
- --http-password=*)
- httppassword=${i#*=}
+ --url-password=*)
+ urlpassword=${i#*=}
;;
*)
usage
@@ -125,12 +125,12 @@ if [[ ${devicetype} != "mobile" ]] && [[ ${devicetype} != "tv" ]]; then
exit 1
fi
-if [[ $httpuser != "" ]]; then
- user=$httpuser
+if [[ $urluser != "" ]]; then
+ user=$urluser
fi
-if [[ $httppassword != "" ]]; then
- password=$httppassword
+if [[ $urlpassword != "" ]]; then
+ password=$urlpassword
fi
str=$( sdb ${opt} shell "uname -a" )