Make tools bash compatible

Change-Id: Iccccc91b0a44f92bcbb2442638a93e7624da112b
This commit is contained in:
Dincer Celik
2020-01-20 18:14:38 +03:00
parent 347bd599e5
commit e21a142111
4 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
#!/bin/bash
# Move to top level directory
REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
REAL_PATH=$(realpath $0)
cd "$(dirname "$REAL_PATH")/.."
. tools/validate-docker-execute.sh
+2 -1
View File
@@ -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
+2 -1
View File
@@ -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")/.."
find . -name '*.yaml' -o -name '*.yml' -print0 |
+2 -1
View File
@@ -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