snap: Avoid collition name for qemu dir.

Use a different repo dir for qemu to avoid conflicts
with qemu dir.

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
Jose Carlos Venegas Munoz
2019-05-02 10:08:33 -05:00
parent f059385409
commit 235a3bc147

View File

@@ -302,8 +302,9 @@ parts:
esac
# download source
git clone --branch ${branch} --single-branch ${url} ${pkg_name}
cd ${pkg_name}
pkg_repo_dir="${pkg_name}-repo"
git clone --branch ${branch} --single-branch ${url} "${pkg_repo_dir}"
cd ${pkg_repo_dir}
git checkout ${commit}
[ -n "$(ls -A ui/keycodemapdb)" ] || git clone https://github.com/qemu/keycodemapdb ui/keycodemapdb/