interplane.Get Omega
Read in your language

omnet

aien-dev/omnet

Brought by drakestapleton

branch main Branches Tags History

omnet / om / json / test / run.sh

11 lines · 262 bytes Raw Blame History
1#!/bin/sh
2# SPDX-License-Identifier: Apache-2.0
3set -eu
4here=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
5root=$(CDPATH= cd -- "$here/../../.." && pwd)
6if [ "$#" -eq 0 ]; then
7 omc=$("$root/tools/omc.sh")
8else
9 omc=$1
10fi
11exec python3 "$here/run.py" "$omc"