[Slackbuilds-users] Slackbuilds in python ?
Joel J. Adamson
adamsonj at email.unc.edu
Fri May 8 14:44:24 UTC 2009
>>>>> "Xavier" == Xavier Maillard <xma at gnu.org> writes:
> At the bare minimum, are functions (bash functions) accepted on
> SBo ?
template.SlackBuild actually includes a function. Not to split hairs
(or un-split them), but sh on GNU/Linux is bash:
lrwxrwxrwx 1 root root 4 2008-12-11 10:45 sh -> bash
So you can use any bash-specific features with #!/bin/sh. These will
only be run on Slackware right? Sh-compatibility is mainly a
portability concern, and nobody's going to run a SlackBuild on FreeBSD
or HP-UX are they?
Joel J. Adamson -- http://www.unc.edu/~adamsonj
University of North Carolina at Chapel Hill
CB #3280, Coker Hall
Chapel Hill, NC 27599-3280
More information about the SlackBuilds-users