diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2008-12-23 21:24:11 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2008-12-23 21:24:11 +0000 |
commit | 5c7d3944cda03a29ae6349ec4bd058e405c3b8f4 (patch) | |
tree | 37edd861a5388d07f9e6b06b64c5e1d8c70412b4 /trunk/src/simplaret | |
parent | 9a8f7b53cefff0a1282d32112fcf353d06cb6d5c (diff) | |
download | simplepkg-5c7d3944cda03a29ae6349ec4bd058e405c3b8f4.tar.gz simplepkg-5c7d3944cda03a29ae6349ec4bd058e405c3b8f4.tar.bz2 |
mkbuild: adding --update-manifest and other changes (see CHANGELOG)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@707 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src/simplaret')
-rwxr-xr-x | trunk/src/simplaret | 4 |
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 |