Merge pull request #153 from nitkon/qemulite

obs-packaging: Skip packaging qemu-lite for non-amd64 arch
This commit is contained in:
Julio Montes 2018-08-27 15:14:35 -05:00 committed by GitHub
commit f31f50a7ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,6 +65,10 @@ eom
pushd "${script_dir}" pushd "${script_dir}"
for p in "${projects[@]}"; do for p in "${projects[@]}"; do
if [[ "$GO_ARCH" != "amd64" && "$p" == "qemu-lite" ]]; then
echo "Skipping packaging qemu-lite as its only for amd64 arch"
continue
fi
pushd "$p" >>/dev/null pushd "$p" >>/dev/null
update_cmd="./update.sh" update_cmd="./update.sh"
if [ -n "${PUSH}" ]; then if [ -n "${PUSH}" ]; then