summaryrefslogtreecommitdiff
path: root/darcs-all
diff options
context:
space:
mode:
authorAlec Berryman <alec@thened.net>2006-07-03 01:29:11 +0000
committerAlec Berryman <alec@thened.net>2006-07-03 01:29:11 +0000
commit4ce08e13864d000c599e1816b284b23ef16b2971 (patch)
tree79467250e2015f4b8665d9037c3297aeaf29b6e9 /darcs-all
parent273be06fa7cb1297284dbb553ecc9be7d07df6af (diff)
downloadhaskell-4ce08e13864d000c599e1816b284b23ef16b2971.tar.gz
Remove bashisms from darcs-all
darcs-all may now be run with any POSIX-compatible /bin/sh.
Diffstat (limited to 'darcs-all')
-rw-r--r--darcs-all6
1 files changed, 3 insertions, 3 deletions
diff --git a/darcs-all b/darcs-all
index 0dd9145063..579bc5cd15 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*) ;;