From 5460f28cfbe7aaafdc273a744cc516c7ea7f97ac Mon Sep 17 00:00:00 2001 From: Jorde Kang Date: Wed, 16 Oct 2019 02:41:44 +0000 Subject: [PATCH] Removed unnecessary import sys (#46) --- tools/zasm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/zasm.sh b/tools/zasm.sh index ca93458..b2ef6fd 100755 --- a/tools/zasm.sh +++ b/tools/zasm.sh @@ -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}")