From: Alec Berryman Date: Mon, 3 Jul 2006 01:29:11 +0000 (+0000) Subject: Remove bashisms from darcs-all X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=4ce08e13864d000c599e1816b284b23ef16b2971;p=ghc-hetmet.git Remove bashisms from darcs-all darcs-all may now be run with any POSIX-compatible /bin/sh. --- diff --git a/darcs-all b/darcs-all index 0dd9145..579bc5c 100644 --- a/darcs-all +++ b/darcs-all @@ -9,14 +9,14 @@ default_lib_repo_root=$default_repo_root/packages quiet=NO -function message() +message() { if [ "$quiet" = "NO" ]; then echo $* fi } -function darcsall() +darcsall() { message "== running darcs $* at the top level" darcs $* @@ -38,7 +38,7 @@ function darcsall() done } -function darcsget() +darcsget() { case $* in *--partial*) ;;