Join Slack
Powered by
no-go there. Unless $0 is a symlink — which, in th...
# kobalt
k
keturn
04/15/2017, 1:35 AM
no-go there. Unless $0
is
a symlink — which, in the standard case just out of a zip file, it's not — that readlink will error, dirname of "" is
.
, and then that path to the jar is going to be relative to nothing-in-particular (or rather, $PWD of wherever the caller happened to be at the time)
Open in Slack
Previous
Next