aboutsummaryrefslogtreecommitdiffstats
path: root/kud/tests
diff options
context:
space:
mode:
authorSamuli Silvius <s.silvius@partner.samsung.com>2019-06-20 09:29:05 +0300
committerSamuli Silvius <s.silvius@partner.samsung.com>2019-06-20 09:29:05 +0300
commit2860cd0ee42a205ea3c565c9953ff15bd79fcc25 (patch)
tree67e62de697ffb18fa1cd50c87a227ee1305bf653 /kud/tests
parent76acfa887ed36697e2ddff52f2fc84ee3fcf6c72 (diff)
Unify resolving current directory in KUD scripts
Issue-ID: MULTICLOUD-685 Change-Id: I62199f64da360627a13c467139a39430ae389167 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
Diffstat (limited to 'kud/tests')
-rwxr-xr-xkud/tests/_functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/kud/tests/_functions.sh b/kud/tests/_functions.sh
index 5e6314ce..a885bc50 100755
--- a/kud/tests/_functions.sh
+++ b/kud/tests/_functions.sh
@@ -12,7 +12,7 @@ set -o errexit
set -o nounset
set -o pipefail
-FUNCTIONS_DIR=$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)
+FUNCTIONS_DIR="$(readlink -f "$(dirname "${BASH_SOURCE[0]}")")"
source /etc/environment