1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-23 15:48:05 +11:00

Removed unnecessary import sys (#46)

This commit is contained in:
Jorde Kang 2019-10-16 02:41:44 +00:00 committed by Virgil Dupras
parent 7f7251d57f
commit 5460f28cfb

View File

@ -2,7 +2,7 @@
# readlink -f doesn't work with macOS's implementation
# so, if we can't get readlink -f to work, try python with a realpath implementation
ABS_PATH=$(readlink -f "$0" || python -c "import sys, os; print(os.path.realpath('$0'))")
ABS_PATH=$(readlink -f "$0" || python -c "import os; print(os.path.realpath('$0'))")
# wrapper around ./emul/zasm/zasm that prepares includes CFS prior to call
DIR=$(dirname "${ABS_PATH}")