Fix logic in git fallback scripting
authorSteve McIntyre <steve@einval.com>
Sat, 25 Feb 2017 17:28:05 +0000 (17:28 +0000)
committerSteve McIntyre <steve@einval.com>
Sat, 25 Feb 2017 17:28:05 +0000 (17:28 +0000)
strace-build-test

index 271a5f0..3eca4ef 100755 (executable)
@@ -71,8 +71,8 @@ cat > ~/build/strace/inside-schroot-test.sh << EOF
 set -e
 cd ${BDIR}
 ${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
+    (rm -rf strace.git && \
+    ${GIT} clone -q https://github.com/strace/strace strace.git)
 echo "BUILD ENVIRONMENT INFORMATION"
 echo "============================="
 echo "Debian architecture"