Ver código fonte

Removed unnecessary import sys (#46)

pull/53/head
Jorde Kang Virgil Dupras 4 anos atrás
pai
commit
5460f28cfb
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      tools/zasm.sh

+ 1
- 1
tools/zasm.sh Ver arquivo

@@ -2,7 +2,7 @@


# readlink -f doesn't work with macOS's implementation # 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 # 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 # wrapper around ./emul/zasm/zasm that prepares includes CFS prior to call
DIR=$(dirname "${ABS_PATH}") DIR=$(dirname "${ABS_PATH}")


Carregando…
Cancelar
Salvar