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
_______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
