Replace realpath with cd&pwd shell magic

This commit is contained in:
Ondřej Surý 2018-12-03 20:35:03 +01:00
parent c644c0f283
commit 88d3338f5f
3 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,7 @@
# Run a system test.
#
SYSTEMTESTTOP=$(realpath .)
SYSTEMTESTTOP="$(cd -P -- "$(dirname -- "$0")" && pwd -P)"
. $SYSTEMTESTTOP/conf.sh
export SYSTEMTESTTOP

View file

@ -9,7 +9,7 @@
# See the COPYRIGHT file distributed with this work for additional
# information regarding copyright ownership.
SYSTEMTESTTOP="$(realpath "$(dirname "$0")")"
SYSTEMTESTTOP="$(cd -P -- "$(dirname -- "$0")" && pwd -P)"
# shellcheck source=conf.sh
. "$SYSTEMTESTTOP/conf.sh"
export SYSTEMTESTTOP

View file

@ -9,7 +9,7 @@
# See the COPYRIGHT file distributed with this work for additional
# information regarding copyright ownership.
SYSTEMTESTTOP="$(realpath "$(dirname "$0")")"
SYSTEMTESTTOP="$(cd -P -- "$(dirname -- "$0")" && pwd -P)"
# shellcheck source=conf.sh
. "$SYSTEMTESTTOP/conf.sh"
export SYSTEMTESTTOP