browsermob-proxy icon indicating copy to clipboard operation
browsermob-proxy copied to clipboard

A small issue with the bin/browsermob-proxy script

Open HeshamMeneisi opened this issue 5 years ago • 1 comments

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 avatar Mar 28 '19 08:03 HeshamMeneisi

@HeshamMeneisi We have an actively maintained fork at https://github.com/browserup/browserup-proxy. Our script stub is generated by gradle.

ericbeland avatar May 31 '19 13:05 ericbeland