summaryrefslogtreecommitdiff
path: root/sh/functions.sh.in
Commit message (Collapse)AuthorAge
* functions.sh: yesno: (mostly) fix eval logicMike Frysinger2013-11-30
| | | | | | | | We need to quote the expansion. X-Gentoo-Bug: 475032 X-Gentoo-Bug: https://bugs.gentoo.org/475032 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* include BINDIR and SBINDIR in the sanitized PATHAndrew Gregory2013-02-23
| | | | Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
* checkbashisms: clean up export statements.Robin H. Johnson2012-11-07
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* functions.sh: do not hard code path in e* wrapper functionsWilliam Hubbs2012-10-17
| | | | | | We should use the "command" shell builtin to execute a binary from within the wrapper with the same name. Hard coding the path to the binary makes our test suite fail.
* make shell math operations style more succulentMike Frysinger2011-11-19
| | | | | | | | | | | Convert the style: var=$((${var} + 1)) to: : $(( var += 1 )) The latter is easier to read imo. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* slight formatting changeWilliam Hubbs2011-07-02
| | | | Add a new line after "rc_runlevel()" for consistency.
* drop useless "All rights reserved" noticeMike Frysinger2011-06-29
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* fix underquoting of wrapped color stubs of exit statusMike Frysinger2011-06-03
| | | | | | | | X-Gentoo-Bug: 369911 X-Gentoo-Bug-URL: http://bugs.gentoo.org/369911 Reported-by: Steve Dibb <beandog@gentoo.org> Reported-by: Christian Ruppert <idl0r@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Move non compiled libraries from /lib/rc to /libexec/rcRoy Marples2009-05-23
| | | | | | | | OpenRC version is now stored as plaintext in /libexec/rc/version Plugins (cursplash, splashutils) will have to be re-compiled to pickup the new directories. State data needs to be moved from /lib/rc/init.d to /libexec/rc/init.d as well.
* Fix compile on NetBSDRoy Marples2009-05-05
|
* Add (c) to CopyrightRoy Marples2009-05-01
|
* Stop using needless {} in varsRoy Marples2009-04-26
|
* Use a bashism for a minor speedup in gendepends.shRoy Marples2009-04-19
|
* Punt is_function in favour of POSIX shell builtin command, thanks to Harald ↵Roy Marples2008-04-21
| | | | van Dijk for the idea.
* We should check type output to ensure that we're really calling a shell ↵Roy Marples2008-04-18
| | | | function and not some badly named binary like stop from boinc, Gentoo #218063.
* Add a silly rc_runlevel function to appease SpanKY :)Roy Marples2008-04-08
|
* We would sanitize $RC_LIBDIR/sbin as well. If it's really needed then ↵Roy Marples2008-03-27
| | | | rc-functions.sh will add it back.
* Sanitize the write rc dir.Roy Marples2008-03-27
|
* Fix mulitlib issues.Roy Marples2008-03-27
|
* dont leak the _e varMike Frysinger2008-03-24
|
* More pathing fixes.Roy Marples2008-03-21
|
* Fix pathing again.Roy Marples2008-03-20
|
* Ensure that our path includes packages and localRoy Marples2008-03-19
|
* Ensure that our scripts call prefixed runscript.Roy Marples2008-03-02
|
* TypoRoy Marples2008-02-28
|
* Support the use of PREFIX and PKG_PREFIX.Roy Marples2008-02-28
|
* Makefile SH variable now tweaks the default shell used by our scripts.Roy Marples2008-02-27