aboutsummaryrefslogtreecommitdiff
path: root/tools/validate-binary-build.sh
diff options
context:
space:
mode:
authorDincer Celik <hello@dincercelik.com>2020-01-20 16:55:16 +0300
committerDincer Celik <hello@dincercelik.com>2020-01-20 18:14:38 +0300
commite21a142111f75ef52df1c7774a4fae808ebe2087 (patch)
tree52b44fd2b05e1cc5eaa9362a7403fa84dd28c4f0 /tools/validate-binary-build.sh
parent347bd599e597f382b0b6b8ddebedad5a90a67f55 (diff)
downloadkolla-e21a142111f75ef52df1c7774a4fae808ebe2087.tar.gz
kolla-e21a142111f75ef52df1c7774a4fae808ebe2087.zip
Make tools bash compatible
Change-Id: Iccccc91b0a44f92bcbb2442638a93e7624da112b
Diffstat (limited to 'tools/validate-binary-build.sh')
-rwxr-xr-xtools/validate-binary-build.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/validate-binary-build.sh b/tools/validate-binary-build.sh
index d64f83cac..6b430500b 100755
--- a/tools/validate-binary-build.sh
+++ b/tools/validate-binary-build.sh
@@ -1,6 +1,7 @@
#!/bin/bash
-REAL_PATH=$(python -c "import os,sys;print(os.path.realpath('$0'))")
+# Move to top level directory
+REAL_PATH=$(realpath $0)
cd "$(dirname "$REAL_PATH")/.."
RES=0