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.
This commit is contained in:
Christian Mäder 2019-10-14 22:20:09 +02:00
parent 20109c3392
commit 123fd981e9
1 changed files with 1 additions and 1 deletions

View File

@ -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
)