From cae28fe05e982822d7fd92f3f5434d42db13dca1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Ma=CC=88der?= Date: Mon, 14 Oct 2019 22:20:09 +0200 Subject: [PATCH] Fix build The Docker Hub build system runs on Ubuntu Xenial containers. Xenial's git is 2.7.4, which does not know the `-P` flag yet. --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index c9ee110..e14fc17 100755 --- a/build.sh +++ b/build.sh @@ -130,7 +130,7 @@ if [ "${2}" != "--push-only" ] ; then fi $DRY git remote set-url origin "${URL}" - $DRY git fetch -qpP --depth 10 origin "${BRANCH}" + $DRY git fetch -qp --depth 10 origin "${BRANCH}" $DRY git checkout -qf FETCH_HEAD $DRY git prune )