How about using symlinks? You might symlink /usr/arch/bin to /usr/i386/bin for your i386 boxes, and to /usr/sparc/bin on your solaris boxes. Then your scripts could all just use /usr/arch/bin....
Untested, so it may not work all that well, but I think that's what I'd try first. If it works, you don't need to figure out the wrapper.
...roboticus
In reply to Re: using "#!/<perlpath>/bin/perl" to exec a shell script?
by roboticus
in thread using "#!/<perlpath>/bin/perl" to exec a shell script?
by cadphile
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |