bin/changelogget: https->http
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 5 Feb 2018 15:51:00 +0000 (16:51 +0100)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 5 Feb 2018 15:51:00 +0000 (16:51 +0100)
bin/changelogget

index d621915..578f1d5 100755 (executable)
@@ -21,6 +21,7 @@ function formatpatch
 if [ "$*" = "-f" ];then
        formatpatch
 else for arg in "$@";do
+       arg="$(echo "$arg"|sed 's/^https:/http:/')"
        # http://sourceware.org/ml/gdb-cvs/2099-99/msg99999.html
        if [ "$arg" != "${arg#http://sources.redhat.com/}" ];then
                arg="http://sourceware.org/${arg#http://sources.redhat.com/}"