Try both git repos in turn befor failing
authorSteve McIntyre <steve@einval.com>
Sun, 19 Feb 2017 15:47:12 +0000 (15:47 +0000)
committerSteve McIntyre <steve@einval.com>
Sun, 19 Feb 2017 15:47:12 +0000 (15:47 +0000)
strace-build-test

index 3c5399c..de162ef 100755 (executable)
@@ -67,7 +67,7 @@ cat > ~/build/strace/inside-schroot-test.sh << EOF
 #!/bin/sh
 set -e
 cd ${BDIR}
-git clone -q http://git.code.sf.net/p/strace/code strace.git
+git clone -q http://git.code.sf.net/p/strace/code strace.git || rm -rf strace.git && git clone -q https://github.com/strace/strace strace.git
 echo "BUILD ENVIRONMENT INFORMATION"
 echo "============================="
 echo "Debian architecture"