Skip to content

Commit

Permalink
Asm2Cfg: Add shell script for easy executing
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Weiss committed Jun 20, 2023
1 parent 1256541 commit 8739d0c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions asm2cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh

# SPDX-License-Identifier: GTDGmbH
# Copyright 2023 by GTD GmbH.

dir="$(dirname "$(readlink -f "$0")")"
cd $dir
export PATH=$dir/bin:$PATH
if [ -d "venv" ]; then
. venv/bin/activate
fi
python3 -m ocgraph.__main__ "$@"

0 comments on commit 8739d0c

Please sign in to comment.