]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - vendor/update
Add support for requiring users to use SSL in order to use SASL.
[user/henk/code/inspircd.git] / vendor / update
index c57918cb5067dbb218373521b3f332e9257bf419..6f9ff5e86a2e7b6c6b2950edf7de5800035018e7 100755 (executable)
@@ -57,14 +57,14 @@ while (my ($name, $info) = each $data) {
        my $vendordir = catdir $RealDir, $name;
        my $success = 0;
        if (defined $info->{git}) {
-               $success ||= system 'git', 'clone', $info->{git}, $unpackdir;
+               $success ||= execute 'git', 'clone', $info->{git}, $unpackdir;
                chomp(my $tag = `git -C $unpackdir describe --abbrev=0 --tags HEAD 2>/dev/null`) unless $success;
-               $success ||= system 'git', '-C', $unpackdir, 'checkout', $tag if $tag;
+               $success ||= execute 'git', '-C', $unpackdir, 'checkout', $tag if $tag;
                chomp($info->{version} = `git -C $unpackdir describe --always --tags HEAD 2>/dev/null`);
        } elsif (defined $info->{tarball}) {
                my $tarball = catfile $unpackdir, basename $info->{tarball};
-               $success ||= system 'wget', '--output-document', $tarball, $info->{tarball};
-               $success ||= system 'tar', 'fx', $tarball, '-C', $unpackdir, '--strip-components', 1;
+               $success ||= execute 'wget', '--output-document', $tarball, $info->{tarball};
+               $success ||= execute 'tar', 'fx', $tarball, '-C', $unpackdir, '--strip-components', 1;
        } else {
                print_error "unable to update $name; no git or tarball specified!";
        }