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
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}"
16
-if [ "$VAR16MODE" == "VAR16" ]; then
17
+if [ "$VAR16MODE" = "VAR16" ]; then
18
cat > ${OUTFILE} <<EOF
20
char VERSION[] VAR16 = "${VERSION}";