summaryrefslogtreecommitdiff
path: root/tests/010-xauth-add-inet.script
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2017-02-06 22:28:44 +0100
committerDr. Tilmann Bubeck <tilmann@bubecks.de>2021-11-29 12:24:35 +0100
commitd6d1423fabdaec25d4a677e794f91a91f7c09c70 (patch)
tree0542b829eef22696ab71b1a30ae316786e87365e /tests/010-xauth-add-inet.script
parent477307d00c1220f8594622e1af982fb0e4e215bf (diff)
downloadxorg-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-xtests/010-xauth-add-inet.script2
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