From 3aa0928623393aa9c296abf32d4726d02a454207 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Mon, 13 Jan 2020 13:07:47 +0530 Subject: 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 --- build-aux/pkg-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build-aux') diff --git a/build-aux/pkg-version b/build-aux/pkg-version index 7c57c639a5c..17ceab70c03 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 -- cgit