summaryrefslogtreecommitdiff
path: root/init_buildsystem
diff options
context:
space:
mode:
authorMartin Mohring <martin.mohring@5edatasoft.com>2011-08-14 20:58:46 +0200
committerMartin Mohring <martin.mohring@5edatasoft.com>2011-08-14 20:58:46 +0200
commit43c64594052a13608fd02431b8763b03671af518 (patch)
treec862a2acd965ef4665b88eac0b3c9d6ec4e198f7 /init_buildsystem
parentf96eb8a7cdc2cf9667d870041efeec3bd07bbefd (diff)
downloadobs-build-43c64594052a13608fd02431b8763b03671af518.tar.gz
obs-build-43c64594052a13608fd02431b8763b03671af518.tar.bz2
obs-build-43c64594052a13608fd02431b8763b03671af518.zip
[build] make sure local build works correctly when qemu-reg is present
Diffstat (limited to 'init_buildsystem')
-rwxr-xr-xinit_buildsystem2
1 files changed, 1 insertions, 1 deletions
diff --git a/init_buildsystem b/init_buildsystem
index 09760a1..b215791 100755
--- a/init_buildsystem
+++ b/init_buildsystem
@@ -363,7 +363,7 @@ copy_qemu()
mkdir -p $BUILD_ROOT/usr/bin
- if [ -e $BUILD_DIR/qemu-reg ]; then
+ if [ -e $BUILD_DIR/qemu-reg -a -x $BUILD_DIR/initvm ]; then
for path in $BUILD_DIR/qemu-*; do
if file $path | grep -q static; then