mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
Use more portable syntax for functions.
This commit is contained in:
parent
22d0061e4d
commit
bc89c5fb10
@ -5,7 +5,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
function one_test () {
|
||||
one_test() {
|
||||
"$@" >/dev/null 2>doctest.err
|
||||
if test -s doctest.err; then
|
||||
echo "ERROR messages follow:" 2>&1
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
|
||||
# $1 - file to upload, $2 - shell mask to erase
|
||||
function upload() {
|
||||
upload() {
|
||||
echo "Uploading $1 to $SITE"
|
||||
name="`basename $1`"
|
||||
scp "$1" "$SITE:$DIR/.in.$name"
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
function distcheck () {
|
||||
distcheck() {
|
||||
id="$1"
|
||||
shift
|
||||
make distcheck MSGMERGE="msgmerge -q" "$@" >test-$id.out 2>test-$id.err
|
||||
|
Loading…
Reference in New Issue
Block a user