diff options
Diffstat (limited to 'scripts/simple.sh')
-rw-r--r-- | scripts/simple.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/simple.sh b/scripts/simple.sh new file mode 100644 index 00000000..9c90fded --- /dev/null +++ b/scripts/simple.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +abc_root() +{ + cwd="$(pwd)" + cd $(dirname "$1") + echo $(dirname "$(pwd)") + cd "${cwd}" +} + +abc_dir=$(abc_root "$0") +bin_dir="${abc_dir}"/bin + +exec ${bin_dir}/abc -c "/simple_aiger $*" |