I guess there is another compile.sh which is in a directory earlier in your $PATH. Maybe try
$ which compile.sh
to confirm/refute.
In reply to Re: OT: invoking shell script with relative path and absolute path
by hippo
in thread OP: invoking shell script with relative path and absolute path
by vinoth.ree
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |