diff mbox

[ndctl,3/8] ndctl: fix build on systems where /bin/sh is not a link to bash

Message ID 146135443801.4228.10172852540070823673.stgit@dwillia2-desk3.amr.corp.intel.com (mailing list archive)
State Accepted
Commit f5ccc1bcd626
Headers show

Commit Message

Dan Williams April 22, 2016, 7:47 p.m. UTC
From: Marcin ?lusarz <marcin.slusarz@intel.com>

On Debian and Ubuntu autogen.sh fails because:
./git-version: 37: ./git-version: Bad substitution

Signed-off-by: Marcin ?lusarz <marcin.slusarz@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
---
 git-version |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/git-version b/git-version
index c78aff46023f..629f6d4a213d 100755
--- a/git-version
+++ b/git-version
@@ -1,4 +1,4 @@ 
-#!/bin/sh
+#!/bin/bash
 
 dirty() {
 	git update-index -q --refresh