Mercurial > hg-stable
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 Thu Jun 30 22:10:19 2005 +0100 +++ b/hgeditor Fri Jul 01 07:22:27 2005 +0100 @@ -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 Thu Jun 30 22:10:19 2005 +0100 +++ b/hgmerge Fri Jul 01 07:22:27 2005 +0100 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # # hgmerge - default merge helper for Mercurial #
--- a/tests/fish-merge Thu Jun 30 22:10:19 2005 +0100 +++ b/tests/fish-merge Fri Jul 01 07:22:27 2005 +0100 @@ -1,3 +1,5 @@ +#!/bin/sh + set -e set -x
--- a/tests/run-tests Thu Jun 30 22:10:19 2005 +0100 +++ b/tests/run-tests Fri Jul 01 07:22:27 2005 +0100 @@ -1,6 +1,4 @@ -#!/bin/bash - -set -e +#!/bin/sh -e export LANG=C export LC_CTYPE="C" @@ -47,7 +45,7 @@ rm -f $1.err export TZ=GMT D=`mktemp -d` - if [ "$D" == "" ] ; then + if [ "$D" = "" ] ; then echo mktemp failed! fi @@ -77,7 +75,7 @@ } TESTS=$@ -if [ "$TESTS" == "" ] ; then +if [ "$TESTS" = "" ] ; then TESTS=`ls test-* | grep -Ev "\.|~"` fi
--- a/tests/test-bad-pull Thu Jun 30 22:10:19 2005 +0100 +++ b/tests/test-bad-pull Fri Jul 01 07:22:27 2005 +0100 @@ -1,4 +1,4 @@ -#!/bin/bash -x +#!/bin/sh -x hg clone http://localhost:20059/ copy echo $?
--- a/tests/test-basic Thu Jun 30 22:10:19 2005 +0100 +++ b/tests/test-basic Fri Jul 01 07:22:27 2005 +0100 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -x mkdir t @@ -10,4 +10,4 @@ hg history hg manifest hg cat a -hg verify \ No newline at end of file +hg verify
--- a/tests/test-conflict Thu Jun 30 22:10:19 2005 +0100 +++ b/tests/test-conflict Fri Jul 01 07:22:27 2005 +0100 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -x hg init
--- a/tests/test-copy Thu Jun 30 22:10:19 2005 +0100 +++ b/tests/test-copy Fri Jul 01 07:22:27 2005 +0100 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -x hg init
--- a/tests/test-help Thu Jun 30 22:10:19 2005 +0100 +++ b/tests/test-help Fri Jul 01 07:22:27 2005 +0100 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -x
--- a/tests/test-pull Thu Jun 30 22:10:19 2005 +0100 +++ b/tests/test-pull Fri Jul 01 07:22:27 2005 +0100 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh mkdir test cd test
--- a/tests/test-simple-update Thu Jun 30 22:10:19 2005 +0100 +++ b/tests/test-simple-update Fri Jul 01 07:22:27 2005 +0100 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -ex
--- a/tests/test-tags Thu Jun 30 22:10:19 2005 +0100 +++ b/tests/test-tags Fri Jul 01 07:22:27 2005 +0100 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -x mkdir t