From d97466b95a93c710cc783a6bc9fb724dadca4485 Mon Sep 17 00:00:00 2001 From: Shinya Kuribayashi Date: Sat, 6 Sep 2008 10:16:22 +0200 Subject: [PATCH] diffcol.sh: Use /bin/bash explicitly MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Recent Ubuntu uses dash (Debian Almquist Shell; a lightweight POSIX- compliant shell derived from ash) as /bin/sh by default. In this case pager=diffcol.sh doesn't work like this: > skuribay@ubuntu:~/kernel/linux.git$ stg show > /home/skuribay/share/stgit/contrib/diffcol.sh: 22: Bad substitution this is caused by non-bash-compliant /bin/sh. diffcol.sh is based on Quilt, and Quilt is dependent on bash; Actually all Quilt scripts use /bin/bash without exceptions. Then it's good for diffcol.sh to use /bin/bash. Signed-off-by: Shinya Kuribayashi Signed-off-by: Karl Hasselström --- contrib/diffcol.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/diffcol.sh b/contrib/diffcol.sh index ea9109d..eecc87a 100755 --- a/contrib/diffcol.sh +++ b/contrib/diffcol.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Code copied from Quilt (http://savannah.nongnu.org/projects/quilt) # -- 2.11.0