Accepting request 227686 from home:bfrogers:branches:Virtualization

Fix an issue in update_git.sh

OBS-URL: https://build.opensuse.org/request/show/227686
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=197
This commit is contained in:
Bruce Rogers 2014-03-27 04:56:44 +00:00 committed by Git OBS Bridge
parent 25cfc8f4ce
commit cdb35f3960

View File

@ -90,7 +90,8 @@ restore_file_to_package qemu.spec
restore_file_to_package qemu-linux-user.spec
# remove any remaining saved files
if [ -e saved.* ]; then
files=(saved.*)
if [ -e "${files[0]}" ]; then
osc rm --force saved.*
fi