Hi @laurent-14 ,
We do have a workaround. Enclose the environment variable in quotes (") e.g. "$WEBROOT"/static/js/main.*.js
and the globbing should work as expected.
Regards,
Ryan
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I write a little bash script that I would like to run with a triggered webjob, and there is an error with this line :
main_chunk=$(ls $WEBROOT_PATH/static/js/main.*.js)
The error is that it cannot find the file.
What I have noticed :
So I think it is the shell globbing that seems not to work with the webjob execution (but ok with cmd console).
If you have some idea to solve this,
Thanks for your help,
laurent
Hi @laurent-14 ,
We do have a workaround. Enclose the environment variable in quotes (") e.g. "$WEBROOT"/static/js/main.*.js
and the globbing should work as expected.
Regards,
Ryan