# [PATCH] cogitio: sh != bash

1 messages from 2005-06-05 to 2005-06-05. Participants: Chris Wedgwood.
Thread: https://gitlist.dev/t/837

## Chris Wedgwood, 2005-06-05 07:45

Subject: [PATCH] cogitio: sh != bash
Message-ID: <20050605074533.GA18645@taniwha.stupidest.org>
URL: https://gitlist.dev/e/20050605074533.GA18645%40taniwha.stupidest.org

```
Without this users of dash (or similar?) as /bin/sh will get
'substitution' warnings.


diff --git a/cg-patch b/cg-patch
--- a/cg-patch
+++ b/cg-patch
@@ -128,7 +128,7 @@ wait
 touchfiles="$(git-ls-files --deleted | join -v 2 $gonefile -)"
 [ "$touchfiles" ] && touch $touchfiles
 
-cat $todo | xargs -0 sh -c '
+cat $todo | xargs -0 bash -c '
 while [ "$1" ]; do
 	op="$1"; shift;
 	case "$op" in


```
