mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
tests: fix bashism (function keyword)
This commit is contained in:
parent
024cfe09e3
commit
3de4623b0d
@ -7,7 +7,7 @@ echo "remotebranches=$(echo $(dirname $(dirname $0)))/hg_remotebranches.py" >> $
|
||||
|
||||
FILTERPWD="sed s%$PWD/%%g"
|
||||
|
||||
function mkcommit()
|
||||
mkcommit()
|
||||
{
|
||||
echo $1 > $1
|
||||
hg add $1
|
||||
|
@ -14,7 +14,7 @@ EOF
|
||||
|
||||
FILTERPWD="sed s%$PWD/%%g"
|
||||
|
||||
function mkcommit()
|
||||
mkcommit()
|
||||
{
|
||||
echo $1 > $1
|
||||
hg add $1
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
> FILTERPWD="sed s%$PWD/%%g"
|
||||
|
||||
> function mkcommit()
|
||||
> mkcommit()
|
||||
> {
|
||||
> echo $1 > $1
|
||||
> hg add $1
|
||||
|
Loading…
Reference in New Issue
Block a user