summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarshavardhana <harsha@harshavardhana.net>2014-04-16 12:05:14 -0700
committerVijay Bellur <vbellur@redhat.com>2014-04-17 11:20:53 -0700
commit1dc3331d93ea9a2bb17a6dfa54f24ff57ecd6047 (patch)
tree869b547da1d244bcce2ccf71438d609177c166de
parentd6ad57239d396f31ae0cd21e2e8e5db64aae5714 (diff)
scripts: Use `/bin/bash` not `/bin/sh`
If using `/bin/sh` this is what we see $ ./who-wrote-glusterfs.sh ./who-wrote-glusterfs.sh: 39: shift: can't shift that many Use `/bin/bash` instead where 'shift' without an argument is supported. Change-Id: I2be05f0062eb8456631c1cee859757052f1b6dc7 BUG: 1087771 Signed-off-by: Harshavardhana <harsha@harshavardhana.net> Reviewed-on: http://review.gluster.org/7496 Reviewed-by: Niels de Vos <ndevos@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
-rwxr-xr-xextras/who-wrote-glusterfs/who-wrote-glusterfs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/who-wrote-glusterfs/who-wrote-glusterfs.sh b/extras/who-wrote-glusterfs/who-wrote-glusterfs.sh
index 487f587..7a1896e 100755
--- a/extras/who-wrote-glusterfs/who-wrote-glusterfs.sh
+++ b/extras/who-wrote-glusterfs/who-wrote-glusterfs.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Gather statistics on "Who wrote GlusterFS". The idea comes from the excellent
# articles on http://lwn.net/ named "Who wrote <linux-version>?".