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
- [ksh93-integration-discuss] "shcomp" autodete... Roland Mainz
- [ksh93-integration-discuss] [osol-code] "shco... James Carlson
- [ksh93-integration-discuss] [osol-code] "... Glenn Fowler
- [ksh93-integration-discuss] [osol-code] &q... Garrett D'Amore
- [ksh93-integration-discuss] [osol-code] &q... James Carlson
- [ksh93-integration-discuss] [osol-code] &q... Keith M Wesolowski
- [ksh93-integration-discuss] [osol-code... Glenn Fowler
- [ksh93-integration-discuss] [osol-code... Garrett D'Amore
- [ksh93-integration-discuss] [sfwnv-discuss] "... Alan Coopersmith