I'm working on some experimental package that requires LaTeX to execute a Bash script. I'm aware of
-shell-escape, etc., and it does work if I simply put the script next to the LaTeX file I'm compiling.
However, for distribution, it would be more convenient if I could just put the script into the same folder as the package (.sty) code and run it from there. Does LaTeX provide a way to add a package directory to its own shell search path?