diff options
author | Jordan Justen <jordan.l.justen@intel.com> | 2015-02-17 00:05:31 +0000 |
---|---|---|
committer | jljusten <jljusten@Edk2> | 2015-02-17 00:05:31 +0000 |
commit | 0d696b789fa8ce4d02f224bf1a3fa0ce98d56350 (patch) | |
tree | ac1f98f2fff3b73cb5522b5f4cb137b8ccf8f959 | |
parent | 085cfdf2be3769f547a34ef9178e867be86835f0 (diff) | |
download | edk2-0d696b789fa8ce4d02f224bf1a3fa0ce98d56350.zip edk2-0d696b789fa8ce4d02f224bf1a3fa0ce98d56350.tar.gz edk2-0d696b789fa8ce4d02f224bf1a3fa0ce98d56350.tar.bz2 |
OvmfPkg/build.sh: Allow qemu parameters with spaces
This change allows QEMU parameters to have spaces. For example:
OvmfPkg/build.sh qemu -kernel vmlinuz -append "kernel-param1 param2"
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16877 6f19259b-4bc3-4df7-8a09-765794883524
-rwxr-xr-x | OvmfPkg/build.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/OvmfPkg/build.sh b/OvmfPkg/build.sh index b549ab5..aaeefa1 100755 --- a/OvmfPkg/build.sh +++ b/OvmfPkg/build.sh @@ -1,7 +1,7 @@ #!/bin/bash # # Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR> -# Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR> +# Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR> # # This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License @@ -273,9 +273,8 @@ if [[ "$RUN_QEMU" == "yes" ]]; then if [[ "$ADD_QEMU_HDA" == "yes" ]]; then QEMU_COMMAND="$QEMU_COMMAND -hda fat:$BUILD_ROOT_ARCH" fi - QEMU_COMMAND="$QEMU_COMMAND $*" - echo Running: $QEMU_COMMAND - $QEMU_COMMAND + echo Running: $QEMU_COMMAND "$@" + $QEMU_COMMAND "$@" exit $? fi |