pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
qemu-git: Fix shell portability issue
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Tue Apr 25 14:39:25 2017 +0200
Changeset: ab4c0c66ea36fe2056e1e635ece2b3789ca307aa
Modified Files:
qemu-git/distinfo
Added Files:
qemu-git/patches/patch-scripts_qemu-binfmt-conf.sh
Log Message:
qemu-git: Fix shell portability issue
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ab4c0c66ea36fe2056e1e635ece2b3789ca307aa
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
qemu-git/distinfo | 1 +
qemu-git/patches/patch-scripts_qemu-binfmt-conf.sh | 19 +++++++++++++++++++
2 files changed, 20 insertions(+)
diffs:
diff --git a/qemu-git/distinfo b/qemu-git/distinfo
index 59a5133180..6ea2a41618 100644
--- a/qemu-git/distinfo
+++ b/qemu-git/distinfo
@@ -4,3 +4,4 @@ SHA1 (qemu-2.8.1.tar.bz2) = 224289c5e568e400920363820a0647e2aca569e7
RMD160 (qemu-2.8.1.tar.bz2) = 93f71138d19c871195c9e0b1a7ba66275773f93a
SHA512 (qemu-2.8.1.tar.bz2) = 0397b4029cdcb77ed053c44b3579a3f34894038e6fc6b4aa88de14515f5a78bf2f41c5e865f37111529f567c85d2f1c4deefae47dde54f76eac79410e5b2bdda
Size (qemu-2.8.1.tar.bz2) = 28366270 bytes
+SHA1 (patch-scripts_qemu-binfmt-conf.sh) = 721017b17a6c00438c4b0b105376a488addf8eb1
diff --git a/qemu-git/patches/patch-scripts_qemu-binfmt-conf.sh b/qemu-git/patches/patch-scripts_qemu-binfmt-conf.sh
new file mode 100644
index 0000000000..1f5bb6db78
--- /dev/null
+++ b/qemu-git/patches/patch-scripts_qemu-binfmt-conf.sh
@@ -0,0 +1,19 @@
+$NetBSD$
+
+--- scripts/qemu-binfmt-conf.sh.orig 2017-03-31 14:07:03.000000000 +0000
++++ scripts/qemu-binfmt-conf.sh
+@@ -279,12 +279,12 @@ while true ; do
+ shift
+ # check given cpu is in the supported CPU list
+ for cpu in ${qemu_target_list} ; do
+- if [ "$cpu" == "$1" ] ; then
++ if [ "$cpu" = "$1" ] ; then
+ break
+ fi
+ done
+
+- if [ "$cpu" == "$1" ] ; then
++ if [ "$cpu" = "$1" ] ; then
+ qemu_target_list="$1"
+ else
+ echo "ERROR: unknown CPU \"$1\"" 1>&2
Home |
Main Index |
Thread Index |
Old Index