From 455970696c108ecdb0154227862b29169df8a6fa Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Mon, 22 Jun 2015 18:14:26 +0200 Subject: [PATCH] qemu-user-static: fix masks escaping --- srcpkgs/qemu-user-static/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/qemu-user-static/template b/srcpkgs/qemu-user-static/template index f97a517ee6c..3461f474cb7 100644 --- a/srcpkgs/qemu-user-static/template +++ b/srcpkgs/qemu-user-static/template @@ -1,7 +1,7 @@ # Template file for 'qemu-user-static' pkgname=qemu-user-static version=2.3.0 -revision=1 +revision=2 wrksrc="qemu-${version}" hostmakedepends="pkg-config automake python" makedepends="libglib-devel pixman-devel libuuid-devel" @@ -71,7 +71,7 @@ esac for _fmt in $_fmts; do eval "case $_fmt in $_omit) magic= ;; *) magic=\"\$_${_fmt}_magic\" mask=\"\$_${_fmt}_mask\" ;; esac" if [ -n "$magic" ]; then - binfmts+="/usr/bin/qemu-$_fmt-static --magic '$magic' --mask '$mask' --offset 0 --credential yes + binfmts+="/usr/bin/qemu-$_fmt-static --magic $magic --mask $mask --offset 0 --credential yes " fi done