summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmar Tumballi <amar@kadalu.io>2020-01-13 13:07:47 +0530
committerAmar Tumballi <amar@kadalu.io>2020-01-20 18:10:31 +0000
commit3aa0928623393aa9c296abf32d4726d02a454207 (patch)
tree58aac94fca7f74776587dd6899d74c67c50925f7
parent3043fc54b0bdcf87fce13dcd9c56d0dd30e1c5b2 (diff)
pkg-version: fix warning due to wrong check.
using '==' operator is bash specific, and was giving warnings like below when we ran `./autogen.sh` ``` build-aux/pkg-version: 26: [: x8dev: unexpected operator build-aux/pkg-version: 49: [: x384.git22c2725bb: unexpected operator ``` This was not seen where 'sh' is linked to 'bash'. Updates: bz#1193929 Change-Id: Ied0d6707dd8b5d78756f302b6319b6ef75143018 Signed-off-by: Amar Tumballi <amar@kadalu.io>
-rwxr-xr-xbuild-aux/pkg-version2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/pkg-version b/build-aux/pkg-version
index 7c57c63..17ceab7 100755
--- a/build-aux/pkg-version
+++ b/build-aux/pkg-version
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# To override version/release from git,
# create VERSION file containing text with version/release