phantomjs/scripts/common

4 lines
92 B
Plaintext

function abspath {
python -c 'import sys, os; print(os.path.abspath(sys.argv[1]))' "$1"
}