[OPEN-ILS-DEV] OpenSRF Makefile, source, bourne shell, bash, dash

Bill Erickson erickson at esilibrary.com
Mon Nov 26 11:22:49 EST 2007


Jason Etheridge wrote:
> This came up before
> (http://list.georgialibraries.org/pipermail/open-ils-dev/2007-July/001451.html),
> but I was installing OpenSRF on Kubuntu and got this error:
>
> CFLAGS=-D_LARGEFILE64_SOURCE make verbose
> source install.conf && make -C src all
> /bin/sh: source: not found
> make: *** [verbose] Error 127
>
> "source" is an built-in shell command, and my /bin/sh was symlinked to
> dash, which doesn't have "source".
>
> Bash, of course, does have source.  Would it be more portable for us
> to change "source" to "." everywhere we use it?
>
> So instead of "source install.conf", for example, we could use ". install.conf"
>
>   
No objections here.

-bill


-- 
Bill Erickson
| VP, Software Development & Integration
| Equinox Software, Inc. / The Evergreen Experts
| phone: 877-OPEN-ILS (673-6457)
| email: erickson at esilibrary.com
| web: http://esilibrary.com



More information about the Open-ils-dev mailing list