summaryrefslogtreecommitdiffstats
path: root/build-aux/pkg-version
diff options
context:
space:
mode:
authorHarshavardhana <harsha@harshavardhana.net>2014-04-10 10:54:01 -0700
committerVijay Bellur <vbellur@redhat.com>2014-04-12 07:59:29 -0700
commit493e7c1934e65f5b7de5e710528f503e083c49e4 (patch)
tree47c4ca1aa6c275874579b8f1a737a82f1b8a82d7 /build-aux/pkg-version
parent712541cdefcc9614e5a79f628358f205ceda6e55 (diff)
pkg-version: Use /bin/bash instead of /bin/sh
`function` is reserved word only available in /bin/bash, Using `/bin/sh` with `function` keyword fails on Ubuntu. Change-Id: Ia0fff8f13ace2a0eb1dac50093ff42294d960814 BUG: 1074919 Reviewed-on: http://review.gluster.org/7439 Reviewed-by: Bala FA <barumuga@redhat.com> Reviewed-by: Niels de Vos <ndevos@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'build-aux/pkg-version')
-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 2be2a975621..15efb154f6a 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