From e21a142111f75ef52df1c7774a4fae808ebe2087 Mon Sep 17 00:00:00 2001 From: Dincer Celik Date: Mon, 20 Jan 2020 16:55:16 +0300 Subject: Make tools bash compatible Change-Id: Iccccc91b0a44f92bcbb2442638a93e7624da112b --- tools/validate-binary-build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/validate-binary-build.sh') 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 -- cgit v1.2.3