Change python2 -> python3 for readlink()

This commit is contained in:
Jim Barlow
2015-03-24 22:36:13 -07:00
parent 466a8a1318
commit c6091bcfe1
+1 -1
View File
@@ -6,7 +6,7 @@
# Darwin/OS X has not evolved a proper readlink yet
if [ $(uname) == "Darwin" ]; then
function readlink() {
python -c 'import os,sys; print os.path.realpath(sys.argv[1])' "$2"
python3 -c 'import os,sys; print(os.path.realpath(sys.argv[1]))' "$2"
}
fi