~ubuntu-branches/ubuntu/trusty/seabios/trusty

« back to all changes in this revision

Viewing changes to debian/patches/fix-==-in-shell.patch

  • Committer: Package Import Robot
  • Author(s): Michael Tokarev
  • Date: 2012-04-17 14:22:01 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20120417142201-txx8sj6ne70gt3iz
Tags: 1.7.0-1
* new upstream release (1.7.0), featuring vgabios.
* drop 1.6.3.1 patch
* do not require root in clean target
* split build procedure into several targets, move bios.bin
  out of out/ directory (preparing for the next change), and
  change clean target accordingly
* build and ship vgabios-{cirrus,stdvga,vmware,qxl,isavga}.bin
* patches/fix-==-in-shell.patch -- fix build error with dash
* move all optionrom files taken from qemu into debian/optionrom,
  instead of having them as patches in debian/patches.  While at
  it, update optionroms from current qemu (1.1) and add
  vapic.bin => kvmvapic.bin compatibility symlink.
* add myself to uploaders
* bump Standards-Version to 3.9.3 (no changes needed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Upstream script does not work with POSIX /bin/sh due to usage
 
2
of [ foo == bar ] instead of [ foo = bar ].  This change is
 
3
in upstream git already so should be removed for the next
 
4
release.
 
5
 
 
6
   -- mjt
 
7
 
 
8
diff --git a/tools/buildversion.sh b/tools/buildversion.sh
 
9
index 9b301e6..c8c1725 100755
 
10
--- a/tools/buildversion.sh
 
11
+++ b/tools/buildversion.sh
 
12
@@ -15,7 +15,7 @@ VERSION="${VERSION}-`date +"%Y%m%d_%H%M%S"`-`hostname`"
 
13
 echo "Version: ${VERSION}"
 
14
 
 
15
 # Build header file
 
16
-if [ "$VAR16MODE" == "VAR16" ]; then
 
17
+if [ "$VAR16MODE" = "VAR16" ]; then
 
18
     cat > ${OUTFILE} <<EOF
 
19
 #include "types.h"
 
20
 char VERSION[] VAR16 = "${VERSION}";