Mercurial > hg > mercurial-crew-with-dirclash
changeset 544:3d4d5f2aba9a
Remove bashisms and use /bin/sh instead of /bin/bash.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Remove bashisms and use /bin/sh instead of /bin/bash.
manifest hash: 25560e04ff8ac33a6d8b82d2328b4e90578bee4c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCxOEjW7P1GVgWeRoRAm9XAJ9IjlbMerPYEhKQQu7Ufcm6630cDwCfdXJ3
865XH6YVMuCYNjf3eibwQaM=
=r3gh
-----END PGP SIGNATURE-----
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 01 Jul 2005 07:22:27 +0100 |
parents | 61ead26cb8f0 |
children | 721bfca3a9dc |
files | hgeditor hgmerge tests/fish-merge tests/run-tests tests/test-bad-pull tests/test-basic tests/test-conflict tests/test-copy tests/test-help tests/test-pull tests/test-simple-update tests/test-tags tests/test-undo tests/test-up-local-change |
diffstat | 14 files changed, 18 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/hgeditor +++ b/hgeditor @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # # This is an example of using HGEDITOR to automate the signing of # commits and so on.
--- a/hgmerge +++ b/hgmerge @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # # hgmerge - default merge helper for Mercurial #
--- a/tests/run-tests +++ b/tests/run-tests @@ -1,6 +1,4 @@ -#!/bin/bash - -set -e +#!/bin/sh -e export LANG=C export LC_CTYPE="C" @@ -47,7 +45,7 @@ function run_one rm -f $1.err export TZ=GMT D=`mktemp -d` - if [ "$D" == "" ] ; then + if [ "$D" = "" ] ; then echo mktemp failed! fi @@ -77,7 +75,7 @@ function run_one } TESTS=$@ -if [ "$TESTS" == "" ] ; then +if [ "$TESTS" = "" ] ; then TESTS=`ls test-* | grep -Ev "\.|~"` fi
--- a/tests/test-bad-pull +++ b/tests/test-bad-pull @@ -1,4 +1,4 @@ -#!/bin/bash -x +#!/bin/sh -x hg clone http://localhost:20059/ copy echo $?
--- a/tests/test-basic +++ b/tests/test-basic @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -x mkdir t @@ -10,4 +10,4 @@ hg commit -t "test" -u test -d "0 0" hg history hg manifest hg cat a -hg verify \ No newline at end of file +hg verify
--- a/tests/test-conflict +++ b/tests/test-conflict @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -x hg init
--- a/tests/test-pull +++ b/tests/test-pull @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh mkdir test cd test