omnet
aien-dev/omnet
Brought by drakestapleton
omnet / om / json / test / run.sh
| 1 | #!/bin/sh |
| 2 | # SPDX-License-Identifier: Apache-2.0 |
| 3 | set -eu |
| 4 | here=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd) |
| 5 | root=$(CDPATH= cd -- "$here/../../.." && pwd) |
| 6 | if [ "$#" -eq 0 ]; then |
| 7 | omc=$("$root/tools/omc.sh") |
| 8 | else |
| 9 | omc=$1 |
| 10 | fi |
| 11 | exec python3 "$here/run.py" "$omc" |