browsermob-proxy
browsermob-proxy copied to clipboard
A small issue with the bin/browsermob-proxy script
The first line of the script does not work if the path used to run the script contains spaces (quite common if you are using cron to run the server)
BASEDIR=`dirname $0`/..
The solution is to simply use double quotation marks:
BASEDIR=`dirname "$0"`/..
@HeshamMeneisi We have an actively maintained fork at https://github.com/browserup/browserup-proxy. Our script stub is generated by gradle.