summaryrefslogtreecommitdiffstats
path: root/scripts/simple_bip.sh
blob: f6220099c54a54f9a8aa7b49b684302f3b3ec4b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 -q "/simple_bip_aiger $*"