diff options
Diffstat (limited to 'build/linux/python_arch.sh')
-rwxr-xr-x | build/linux/python_arch.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/linux/python_arch.sh b/build/linux/python_arch.sh index d874051..f364469 100755 --- a/build/linux/python_arch.sh +++ b/build/linux/python_arch.sh @@ -11,12 +11,12 @@ # python=$(readlink -f "$1") -if [ -z "$python" ]; then +if [ ! -r "$python" ]; then echo unknown exit 0; fi file_out=$(file "$python") -if [ -z "$file_out" ]; then +if [ $? -ne 0 ]; then echo unknown exit 0; fi |