Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ob_set_substvar(): Rename to ob_set_source_substvar() | Patrick McDermott | 2019-03-18 | 2 | -11/+14 |
| | |||||
* | Delimit operands of ob_parse_version() | Patrick McDermott | 2019-03-18 | 2 | -2/+3 |
| | |||||
* | Delimit operands of ob_parse_dep() | Patrick McDermott | 2019-03-18 | 1 | -2/+2 |
| | |||||
* | lib/control.sh: Wrap long lines | Patrick McDermott | 2019-03-18 | 1 | -7/+10 |
| | |||||
* | _ob_validate_var_name(): Check for empty var name | Patrick McDermott | 2019-03-18 | 1 | -1/+1 |
| | |||||
* | _ob_validate_var_name(): Abort on missing argument | Patrick McDermott | 2019-03-18 | 1 | -1/+4 |
| | |||||
* | _ob_get_changelog_expect_str(): Abort on missing argument | Patrick McDermott | 2019-03-18 | 1 | -1/+4 |
| | |||||
* | ob_parse_changelog(): Wrap long lines | Patrick McDermott | 2019-03-18 | 1 | -21/+38 |
| | | | | Wow this is ugly. | ||||
* | ob_set_substvar(): Replace echo with a here-document | Patrick McDermott | 2019-03-18 | 1 | -2/+5 |
| | |||||
* | ob_set_substvar(): No it can't | Patrick McDermott | 2019-03-18 | 1 | -1/+0 |
| | | | | | | read only reads one line. It could be put in a loop, but then it would trim whitespace from every line (without some hacks to flag the first line and detect the last line), which is undesired. | ||||
* | Revert "ob_set_substvar(): Replace sed with read" | Patrick McDermott | 2019-03-18 | 1 | -3/+10 |
| | | | | This reverts commit 96851fd522ae3540314ac5c5d4d4fbec1448ca4b. | ||||
* | _OB_LF: Make public | Patrick McDermott | 2019-03-17 | 3 | -5/+5 |
| | |||||
* | ob_get_*_parameter(): Avoid shell error on no such field | Patrick McDermott | 2019-03-17 | 1 | -2/+4 |
| | |||||
* | ob_parse_control(): Fix another variable name in expansion | Patrick McDermott | 2019-03-17 | 1 | -1/+1 |
| | |||||
* | lib/package/2.sh: Fix _ob_package_dir case | Patrick McDermott | 2019-03-17 | 1 | -8/+8 |
| | | | | This should have been done in commit 44d41cd. | ||||
* | _ob_parse_changelog_error(), _ob_parse_control_error(): Drop field width | Patrick McDermott | 2019-03-17 | 2 | -3/+3 |
| | |||||
* | ob_error(), ob_warn(), ob_info(): Fix formatting | Patrick McDermott | 2019-03-17 | 1 | -3/+6 |
| | |||||
* | ob_error(), ob_warn(), ob_info(): Fix _ob_get_msg() calls | Patrick McDermott | 2019-03-17 | 1 | -3/+3 |
| | |||||
* | ob_set_text_domain(): Fix eval commands | Patrick McDermott | 2019-03-17 | 1 | -2/+2 |
| | |||||
* | _ob_try_load_messages(): Fix logic | Patrick McDermott | 2019-03-17 | 1 | -1/+1 |
| | |||||
* | _ob_load_internal_text_domain(): Terminate on error | Patrick McDermott | 2019-03-17 | 1 | -0/+2 |
| | |||||
* | ob_parse_control(): Fix variable name in expansion | Patrick McDermott | 2019-03-16 | 1 | -1/+1 |
| | | | | Bug found with "set -u" in test suite. | ||||
* | _ob_load_internal_text_domain(): More safely check if LC_MESSAGES etc. are set | Patrick McDermott | 2019-03-16 | 1 | -3/+3 |
| | |||||
* | Add braces to param exps in arith substs | Patrick McDermott | 2019-03-16 | 5 | -7/+7 |
| | |||||
* | _ob_change_2(): Fix to use args instead of global vars | Patrick McDermott | 2019-03-16 | 1 | -6/+14 |
| | |||||
* | lib/, locale/, tests/: Update copyright years | Patrick McDermott | 2019-03-16 | 6 | -6/+6 |
| | |||||
* | ob_get_msg(): Make sure ob_set_text_domain() is called first | Patrick McDermott | 2019-03-15 | 1 | -1/+8 |
| | |||||
* | ob_set_locale_path(): Remove | Patrick McDermott | 2019-03-15 | 1 | -11/+0 |
| | | | | All functions are now documented. | ||||
* | _ob_try_load_*messages(): Merge | Patrick McDermott | 2019-03-15 | 1 | -21/+7 |
| | |||||
* | _ob_try_load_*messages(): Don't mandate "locale" dir in build dir | Patrick McDermott | 2019-03-15 | 1 | -2/+2 |
| | |||||
* | _ob_try_load_messages(): Support running in place | Patrick McDermott | 2019-03-15 | 1 | -2/+7 |
| | |||||
* | _ob_try_load_internal_messages(): Remove tab on empty line | Patrick McDermott | 2019-03-15 | 1 | -1/+1 |
| | |||||
* | _ob_try_load_internal_messages(): Remove stray line | Patrick McDermott | 2019-03-15 | 1 | -1/+0 |
| | |||||
* | _ob_try_load_internal_messages(): Rename OB_BUILDDIR env var | Patrick McDermott | 2019-03-15 | 1 | -2/+2 |
| | |||||
* | _ob_try_load_messages(): Replace . with eval/cat | Patrick McDermott | 2019-03-15 | 1 | -6/+6 |
| | |||||
* | _ob_try_load_messages(): Abort on missing argument | Patrick McDermott | 2019-03-15 | 1 | -2/+2 |
| | |||||
* | ob_set_text_domain(): _ob_load_internal_text_domain() sets LC_MESSAGES | Patrick McDermott | 2019-03-15 | 1 | -11/+0 |
| | |||||
* | _ob_load_internal_text_domain(): New __init function | Patrick McDermott | 2019-03-15 | 1 | -0/+40 |
| | |||||
* | _ob_get_msg(): Don't call ob_set_text_domain() | Patrick McDermott | 2019-03-15 | 1 | -5/+1 |
| | | | | | Repeat instead of reusing code, as the result is actually shorter and faster code. | ||||
* | ob_*_is_concerned(): Document | Patrick McDermott | 2019-03-15 | 1 | -0/+22 |
| | |||||
* | _ob_match_plat(): Move closer to usage | Patrick McDermott | 2019-03-14 | 1 | -16/+16 |
| | |||||
* | _ob_match_plat(): Remove loop | Patrick McDermott | 2019-03-14 | 1 | -10/+7 |
| | |||||
* | _ob_match_arch(): Remove loop | Patrick McDermott | 2019-03-14 | 1 | -27/+19 |
| | | | | | ob_arch_is_concerned() calls this function with just one field arch at a time, so this only needs to handle one arch. | ||||
* | ob_match_*(): Make private | Patrick McDermott | 2019-03-14 | 1 | -6/+6 |
| | | | | | These functions are only ever called by ob_*_is_concerned() and are not very useful outside that context. | ||||
* | ob_match_*(): Drop checks for "all" match arch/plat | Patrick McDermott | 2019-03-14 | 1 | -16/+0 |
| | |||||
* | ob_match_plat(): Use clearer variable names | Patrick McDermott | 2019-03-14 | 1 | -7/+7 |
| | |||||
* | lib/package.sh: Make global variables lowercase | Patrick McDermott | 2019-03-14 | 1 | -19/+19 |
| | |||||
* | ob_get_binary_packages(): Avoid multiple runs with 0 bin pkgs | Patrick McDermott | 2019-03-14 | 1 | -3/+4 |
| | |||||
* | lib/deps.sh, lib/metadata.sh, lib/package/2.sh: Wrap long lines | Patrick McDermott | 2019-03-14 | 3 | -5/+10 |
| | | | | lib/changelog.sh and lib/control.sh still have many long lines. | ||||
* | Fix missing "()" after function names in @details | Patrick McDermott | 2019-03-14 | 7 | -37/+38 |
| | | | | | Also fix function name in ob_get_system_plat()'s @details and update ob_error()'s @details. |