Merge pull request #2250 from Jakob-Naucke/remove-qemu-snap

snap: Remove QEMU before clone
This commit is contained in:
Jakob Naucke 2021-07-20 11:28:32 +02:00 committed by GitHub
commit 67906b4876
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -270,6 +270,7 @@ parts:
# download source
qemu_dir=${SNAPCRAFT_STAGE}/qemu
rm -rf "${qemu_dir}"
git clone --branch ${branch} --single-branch ${url} "${qemu_dir}"
cd ${qemu_dir}
[ -z "${commit}" ] || git checkout ${commit}