threads / patch / 837

patchcogitio: sh != bash

Subject: [PATCH] cogitio: sh != bash

## tl;dr

One message between Jun 5, 2005 and Jun 5, 2005. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Chris Wedgwood· Jun 5, 2005, 07:45 UTC · lore

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

Show changes to cg-patch +1 −1
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

← back to recent threads