summaryrefslogtreecommitdiff
path: root/createarchdeps
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2014-03-20 14:00:43 (GMT)
committerMichael Schroeder <mls@suse.de>2014-03-20 14:00:43 (GMT)
commit99b0d9c91d4dcf133039aca593b31d1c88780025 (patch)
tree1f9892b5a12a20208e8db424305f8b696b42f905 /createarchdeps
parent48c10c9388f398274784cb13eaf1945fa8a0573c (diff)
downloadobs-build-99b0d9c91d4dcf133039aca593b31d1c88780025.tar.gz
obs-build-99b0d9c91d4dcf133039aca593b31d1c88780025.tar.xz
support ftps in all createdeps helpers
Diffstat (limited to 'createarchdeps')
-rwxr-xr-xcreatearchdeps2
1 files changed, 1 insertions, 1 deletions
diff --git a/createarchdeps b/createarchdeps
index 5dc751c..94efdb1 100755
--- a/createarchdeps
+++ b/createarchdeps
@@ -46,7 +46,7 @@ GetOptions("cachedir=s" => \$cachedir) or exit(1);
for my $url (@ARGV) {
- die("Not an Archlinux repo") unless $url =~ /^(:?ftp|https?):\/\/([^\/]*)\/?/;
+ die("Not an Archlinux repo") unless $url =~ /^(:?ftps?|https?):\/\/([^\/]*)\/?/;
my $reponame = getreponame($url);
my $repoid = Digest::MD5::md5_hex($url);
my $dir = "$cachedir/$repoid";