work from any dir
This commit is contained in:
parent
4b58c0165f
commit
25e2f53fb8
|
@ -1,3 +1,9 @@
|
|||
#!/bin/sh
|
||||
#!/bin/sh -e
|
||||
|
||||
python3 -m antp "$@"
|
||||
readonly this=$(readlink -f -- "$0")
|
||||
readonly dir=$(dirname -- "$this")
|
||||
readonly module=antp
|
||||
|
||||
cd -- "$dir" || exit
|
||||
|
||||
python3 -m "$module" "$@"
|
||||
|
|
Loading…
Reference in a new issue