summaryrefslogtreecommitdiffstats
path: root/lib/common.sh
Commit message (Collapse)AuthorAgeFilesLines
* lib/*.sh, lib/*/*.sh: Rewrite include guards.P. J. McDermott2013-08-181-2/+2
| | | | This is one step toward adding `set -u` to opkbuild.
* _ob_local(), _ob_return(): Remove.feature/remove-_ob_localP. J. McDermott2013-08-181-29/+0
|
* Additionally license everything under GPLv2.P. J. McDermott2012-10-161-1/+1
|
* More properly set IFS to its default value.P. J. McDermott2012-10-091-1/+2
|
* Protect library functions from IFS changes.P. J. McDermott2012-10-091-0/+9
|
* Fix _ob_local().P. J. McDermott2012-10-041-1/+1
|
* Add a function to validate shell variable names.P. J. McDermott2012-09-281-0/+10
|
* Return rather than print value in _ob_return.P. J. McDermott2012-09-091-3/+1
| | | | | Don't use _ob_return in command substitutions. Doing so unsets stack variables only in a subshell environment.
* Make sure that _ob_return only unsets variables.P. J. McDermott2012-09-081-1/+1
| | | | | | | | According to POSIX.1-2008, some conformant shells might try to unset a function if: 1. Neither -f nor -v is specified and 2. A variable by a specified name does not exist.
* Implement _ob_local and _ob_return.P. J. McDermott2012-09-081-0/+42