Merge branch '745-fix-missing-realpath-on-centos6' into 'master'

Replace realpath with cd&pwd shell magic

See merge request isc-projects/bind9!1172
This commit is contained in:
Ondřej Surý 2018-12-03 15:16:11 -05:00
commit 69dee61f5a
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