1 2 3 4 5 6 7
#!/bin/bash # This may be a brittle way to find $(root_dir)/utils/bin, is there a better way? path=`dirname "$0"` cmd="java -cp ${path}/firrtl.jar firrtl.Driver ${@:1}" eval $cmd