diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2017-02-06 22:28:44 +0100 |
---|---|---|
committer | Dr. Tilmann Bubeck <tilmann@bubecks.de> | 2021-11-29 12:24:35 +0100 |
commit | d6d1423fabdaec25d4a677e794f91a91f7c09c70 (patch) | |
tree | 0542b829eef22696ab71b1a30ae316786e87365e /tests/010-xauth-add-inet.script | |
parent | 477307d00c1220f8594622e1af982fb0e4e215bf (diff) | |
download | xorg-app-xauth-d6d1423fabdaec25d4a677e794f91a91f7c09c70.tar.gz |
Improve portability
there is no need to hard depend on bash given almost all the code is
/bin/sh compliant
Remove the function keyword from setup-source to make it /bin/sh
compliant
pipe wc -l output to xargs to make the command output compatible with
both GNU wc and BSD wc (which prefix the output with a tab)
Diffstat (limited to 'tests/010-xauth-add-inet.script')
-rwxr-xr-x | tests/010-xauth-add-inet.script | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/010-xauth-add-inet.script b/tests/010-xauth-add-inet.script index 97fe2af..685cdd7 100755 --- a/tests/010-xauth-add-inet.script +++ b/tests/010-xauth-add-inet.script @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # setup the test ennvironment inside this shell . setup-sourced |