parent
4d0e588147
commit
b4deae5b57
8
antp.sh
8
antp.sh
|
@ -1,9 +1,11 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
readonly this=$(readlink -f -- "$0")
|
||||
readonly dir=$(dirname -- "$this")
|
||||
readonly module=antp
|
||||
|
||||
cd -- "$dir" || exit
|
||||
if ! [ -d "$module" ]; then
|
||||
readonly this=$(readlink -f -- "$0")
|
||||
readonly dir=$(dirname -- "$this")
|
||||
cd -- "$dir" || exit 1
|
||||
fi
|
||||
|
||||
python3 -m "$module" "$@"
|
||||
|
|
Loading…
Reference in a new issue