#!/bin/bash -ex git clone --depth 1 https://github.com/codelion/pathgrind.git cd pathgrind git apply ../pathgrind.patch ./install.sh chmod 755 fuzz/fuzz.py fuzz/gui.py fuzz/plotfuzz.py cd ../ mkdir -p bin cat < bin/pathgrind-fuzz #!/bin/sh cd "$PWD/pathgrind/" python fuzz/fuzz.py "\$@" END cat < bin/pathgrind-gui #!/bin/sh cd "$PWD/pathgrind/" python fuzz/gui.py "\$@" END cat < bin/pathgrind-plot #!/bin/sh cd "$PWD/pathgrind/" python fuzz/plotfuzz.py "\$@" END chmod 755 bin/pathgrind-*