summaryrefslogtreecommitdiff
path: root/scripts/url-util
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/url-util')
-rwxr-xr-xscripts/url-util6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/url-util b/scripts/url-util
index 94aabae..bd0035a 100755
--- a/scripts/url-util
+++ b/scripts/url-util
@@ -8,7 +8,7 @@
#!/bin/bash
outfile=${1:-/dev/stdout}
-mode=${2:-"basic"}
+mode=${2:-"preset"}
BASE_URL="http://download.tizen.org/"
IMAGE_URL=
@@ -97,7 +97,7 @@ function enter_url() {
#######################################################
-if [ "$mode" = "custom" ]; then
+if [ "$mode" = "preset" ]; then
IMAGE_URL+=$BASE_URL
select_topdir || exit 1
@@ -121,7 +121,7 @@ if [ "$mode" = "custom" ]; then
IMAGE_URL+=$(echo $curdir/*.raw.*)
-elif [ "$mode" = "basic" ]; then
+elif [ "$mode" = "url" ]; then
enter_url
fi