aboutsummaryrefslogtreecommitdiff
path: root/trunk/src/simplaret
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/simplaret')
-rwxr-xr-xtrunk/src/simplaret4
1 files changed, 2 insertions, 2 deletions
diff --git a/trunk/src/simplaret b/trunk/src/simplaret
index 7edd92a..a1ffe2d 100755
--- a/trunk/src/simplaret
+++ b/trunk/src/simplaret
@@ -98,7 +98,7 @@ function simplaret_download {
local curl_timeout curl_passive_ftp curl_verbose
local ncftpget_timeout ncftpget_passive_ftp
- protocol="`echo $1 | cut -d : -f 1`"
+ protocol="`echo $1 | cut -d : -f 1 | tr '[:upper:]' '[:lower:]'`"
file="`basename $2`"
if [ ! -d "$3" ]; then
@@ -117,7 +117,7 @@ function simplaret_download {
echo ""
fi
- if [ "$protocol" == "http" ]; then
+ if [ "$protocol" == "http" ] || [ "$protocol" == "https" ]; then
echo Getting $1/$2:
if [ "$HTTP_TOOL" == "wget" ]; then