I have ready bash script, which extensively uses wget
command. Unfortunately wget
is not available at standard path, but available at:
/usr/custom/bin/wget
I was able to make it usable w/o path in bash console, by introducing an alias:
alias wget="/usr/custom/bin/wget"
Still it's not seen from bash script:
./deploy.sh: line 312: wget: command not found
How do I make things work without rewriting the script itself?
P.S. ~/.bashrc
is available for editing on the box, so I will be happy to persist those changes.