Make validate-all-dockerfile work with python3

Change-Id: I9895c958a4cea91fca014d8f28f448a00b2ae02c
This commit is contained in:
Jeffrey Zhang 2018-01-09 15:14:17 +08:00
parent d568df9bcc
commit 898caa8c4c
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
REAL_PATH=$(python -c "import os,sys;print(os.path.realpath('$0'))")
cd "$(dirname "$REAL_PATH")/.."
find docker -name Dockerfile.j2 -print0 |