shouldn't the test be that exec(2) recognizes shcomp binaries?

On Tue, 15 Apr 2008 09:03:53 -0400 James Carlson wrote:
> Roland Mainz writes:
> > # use "shcomp" if present to compile the shell script,
> > # otherwise just copy it:
> > $(ROOTUSR)/usr/bin/foo: foo.sh
> >     if [[ -x /usr/bin/shcomp ]] ; then \
> >             shcomp foo.sh >$(ROOTUSR)/usr/bin/foo \
> >     else \
> >             cp foo.sh $(ROOTUSR)/usr/bin/foo \
> >     fi


Reply via email to