summaryrefslogtreecommitdiffstats
path: root/lib/deps.sh
Commit message (Collapse)AuthorAgeFilesLines
* ob_parse_dep(), ob_reduce_deps(): Initialize OPTIND before getoptsPatrick McDermott2018-12-241-0/+2
| | | | | | | | Dash and BusyBox ash apparently do this themselves, but GNU Bash (and other shells?) don't. POSIX says that getopts can be used more than once if OPTIND is set to 1, but using getopts multiple times with different parameters without setting OPTIND to 1 "produces unspecified results".
* libopkbuild: Drop include guardsPatrick McDermott2018-12-221-3/+0
|
* ob_use(): RemovePatrick McDermott2018-12-221-2/+0
|
* parse_dep(): Rewrite parsing code to use sed's EREP. J. McDermott2014-10-251-45/+25
|
* lib/*.sh, lib/*/*.sh: Add ".sh" to header comment.P. J. McDermott2013-08-181-1/+1
|
* 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_reduce_deps(): Add "unset IFS" after a loop.P. J. McDermott2013-08-181-0/+1
|
* lib/deps.sh: Remove _ob_local.P. J. McDermott2013-08-181-118/+125
|
* Add {arch,plat}_is_concerned funcs to public API.P. J. McDermott2012-11-051-66/+2
|
* Simplify a comment in ob_parse_dep().P. J. McDermott2012-10-271-1/+1
|
* Improve IFS resetting in ob_reduce_deps().P. J. McDermott2012-10-271-5/+4
|
* Fix parsing of platform specs in ob_parse_dep().P. J. McDermott2012-10-251-1/+1
|
* Improve formatting of dep in ob_parse_dep().P. J. McDermott2012-10-251-6/+16
|
* Reduce platforms in ob_reduce_deps().P. J. McDermott2012-10-251-4/+7
|
* Print a newline after output in ob_parse_dep().P. J. McDermott2012-10-251-0/+1
|
* Reduce platforms in ob_parse_dep().P. J. McDermott2012-10-251-5/+29
|
* Implement _ob_dep_plat_is_concerned().P. J. McDermott2012-10-251-0/+32
|
* Remove arch specs from remaining dep string.P. J. McDermott2012-10-251-0/+1
|
* Refactor printing logic in ob_parse_dep().P. J. McDermott2012-10-251-11/+10
|
* Additionally license everything under GPLv2.P. J. McDermott2012-10-161-1/+1
|
* "ob_use metadata" in "deps" module.P. J. McDermott2012-09-291-0/+2
|
* Validate variable names in ob_parse_dep().P. J. McDermott2012-09-281-0/+20
|
* Standardize use of quotes in _ob_parse_dep().P. J. McDermott2012-09-281-1/+1
|
* Standardize use of quotes in code style.P. J. McDermott2012-09-261-3/+3
|
* Add space before "|" operator in dependency lists.P. J. McDermott2012-09-091-1/+1
|
* Support union dependencies in ob_reduce_deps.P. J. McDermott2012-09-091-1/+8
|
* Reset IFS as soon as possible in ob_reduce_deps.P. J. McDermott2012-09-091-1/+2
|
* An arch is concerned if no arches are specified.P. J. McDermott2012-09-091-0/+4
|
* Fix missing argument to _ob_dep_arch_is_concerned.P. J. McDermott2012-09-091-1/+1
|
* Fix whitespace handling in ob_parse_dep.P. J. McDermott2012-09-091-1/+2
|
* Fix IFS usage in ob_reduce_deps.P. J. McDermott2012-09-091-2/+3
|
* Build reduced dependency list in ob_reduce_deps.P. J. McDermott2012-09-091-3/+20
| | | | NB: This doesn't yet work.
* Print parsed dep, reducing arches if host given.P. J. McDermott2012-09-091-1/+13
|
* Fix substring pattern in dependency parsing.P. J. McDermott2012-09-091-1/+1
|
* Only set arch qual if it exists in dependency.P. J. McDermott2012-09-091-1/+3
|
* Return rather than print value in _ob_return.P. J. McDermott2012-09-091-7/+14
| | | | | Don't use _ob_return in command substitutions. Doing so unsets stack variables only in a subshell environment.
* Unify dependency component variable setting.P. J. McDermott2012-09-091-16/+14
|
* Use new stack MM in deps module.P. J. McDermott2012-09-081-31/+16
|
* Implement ob_parse_dep, _ob_dep_arch_is_concerned.P. J. McDermott2012-09-071-0/+185
Also, begin ob_reduce_deps.