Index: build/linux/python_arch.sh |
diff --git a/build/linux/python_arch.sh b/build/linux/python_arch.sh |
index c0b63a99689a35f2b9baa8c3e1f721ccd07b5c06..3a41f94a980f16675a57baf6422a71fa4fd0f673 100755 |
--- a/build/linux/python_arch.sh |
+++ b/build/linux/python_arch.sh |
@@ -10,12 +10,7 @@ |
# python_arch.sh /path/to/sysroot/usr/lib/libpython2.4.so.1.0 |
# |
-python=$(readlink -f "$1") |
-if [ ! -r "$python" ]; then |
- echo unknown |
- exit 0 |
-fi |
-file_out=$(file "$python") |
+file_out=$(file --dereference "$1") |
if [ $? -ne 0 ]; then |
echo unknown |
exit 0 |