summaryrefslogtreecommitdiffstats
path: root/src/opkbuild.sh
Commit message (Collapse)AuthorAgeFilesLines
* opkbuild: Set SOURCE_DATE_EPOCHPatrick McDermott2019-06-161-0/+3
|
* ob-gencontrol, opkbuild: Update copyright yearsPatrick McDermott2019-03-181-1/+1
|
* Delimit operands of ob_parse_version()Patrick McDermott2019-03-181-1/+1
|
* opkbuild: Improve code qualityPatrick McDermott2019-03-181-20/+31
| | | | | Declare local variables, move default option values, protect [ command from bad UID 0 command output, wrap long lines.
* opkbuild: set -uPatrick McDermott2019-03-181-1/+1
|
* opkbuild: Allow overriding of ob-* commands directoryPatrick McDermott2019-03-181-12/+19
|
* opkbuild: Fix quotes in ob-* commandsPatrick McDermott2019-03-181-4/+4
| | | | Bug introduced in commit ab654dad.
* opkbuild: ob-applypatches is finally fixedPatrick McDermott2019-03-171-2/+1
| | | | A seven-year-old nuissance bug is now closed.
* opkbuild, ob-*: Don't manually load libopkbuildPatrick McDermott2019-03-171-2/+0
|
* opkbuild, ob-*: Drop call to main()Patrick McDermott2019-03-171-2/+0
| | | | | shld already calls main(), so this extra call causes main() to run a second time if it returns the first time.
* Add braces to param exps in arith substsPatrick McDermott2019-03-161-1/+1
|
* opkbuild, ob-*: Fix printf commands after ob_set_text_domain()Patrick McDermott2019-03-151-1/+2
|
* ob_parse_package_metadata(): Merge into ob_init_package()Patrick McDermott2019-03-131-1/+0
| | | | | | Now that caching is gone, the ob_parse_package_metadata() interface function is trivially short, and keeping it separate unnecessarily complicates the API.
* ob_get_binary_packages(): Use -p instead of -P for platformPatrick McDermott2019-03-131-8/+8
|
* Protect against cmd operands beginning with "-"Patrick McDermott2019-03-131-4/+5
|
* Eliminate -a and -o options of [ commandsPatrick McDermott2019-03-131-1/+2
| | | | POSIX marks these as obsolescent.
* Protect [ commands from strings beginning with "-"Patrick McDermott2019-03-131-2/+2
|
* ob_parse_package_metadata(): Eliminate cachingPatrick McDermott2019-03-131-1/+1
| | | | Cf. commit da45b6d.
* opkbuild, ob-*: Exit with error on ob_set_text_domain() failurePatrick McDermott2019-03-131-1/+4
|
* opkbuild: Add more return statementsPatrick McDermott2019-03-131-23/+35
|
* opkbuild: Add return statements after ob_error() callsPatrick McDermott2019-03-131-13/+35
|
* opkbuild, ob-*: set -ePatrick McDermott2019-03-131-0/+2
|
* Don't let libopkbuild errors cause exit with -ePatrick McDermott2019-03-131-11/+7
|
* opkbuild: Don't ignore errors from `../build build`Patrick McDermott2018-12-251-2/+2
|
* opkbuild: Don't run ob-* commands from a child shellPatrick McDermott2018-12-251-7/+5
|
* opkbuild: Add an extremely thoughtful TODO commentPatrick McDermott2018-12-251-0/+1
|
* opkbuild: Join unnecessarily split linesPatrick McDermott2018-12-251-4/+2
|
* opkbuild: Define main() after the functions it callsPatrick McDermott2018-12-251-36/+36
|
* opkbuild, ob-*: Parameterize SHSOEXT and LIBOPKBUILD_SHSOVERSIONPatrick McDermott2018-12-241-1/+1
|
* opkbuild, ob-*: Update header comments, copyrights, and licensePatrick McDermott2018-12-241-9/+9
|
* opkbuild, ob-*: Drop magic number interpreter linesPatrick McDermott2018-12-221-2/+0
|
* opkbuild, ob-*: Use variables set by shppPatrick McDermott2018-12-221-14/+14
|
* ob_use(): RemovePatrick McDermott2018-12-221-5/+0
|
* opkbuild, ob-*: Load newly linked libopkbuildPatrick McDermott2018-12-221-1/+1
|
* libopkbuild: Change output file extension to .shoPatrick McDermott2018-12-221-1/+1
|
* opkbuild: Export OPK_PACKAGES_REDUCEDP. J. McDermott2014-09-211-0/+1
|
* opkbuild: Set OPK_PACKAGES_REDUCEDP. J. McDermott2014-09-211-0/+17
|
* opkbuild: Use case constructs for -b, -S, and -FP. J. McDermott2014-09-211-9/+9
|
* opkbuild: Fix case statementsP. J. McDermott2014-09-211-4/+4
|
* Rename mutex options message IDP. J. McDermott2014-09-211-5/+5
|
* opkbuild: Allow -B and -P to be combinedP. J. McDermott2014-09-211-8/+14
|
* opkbuild: Simplify OPK_PACKAGES assignmentP. J. McDermott2014-09-211-6/+6
|
* opkbuild: Accept -B and -P optionsP. J. McDermott2014-09-211-4/+4
|
* opkbuild: Add a comment about optstringP. J. McDermott2014-09-201-0/+1
|
* opkbuild: Change platform option to -pP. J. McDermott2014-09-201-2/+2
|
* opkbuild: Preserve files' metadata in source pkgs.P. J. McDermott2014-02-261-1/+1
|
* opkbuild: Run ob-genchanges only if -T not given.P. J. McDermott2013-09-071-5/+2
| | | | | | | | | | This fixes the following superfluous errors: $ opkbuild -bCT source [...] ob-genchanges: Generating "opkbuild_3.0.0~beta1-1_core-linux-eglibc_dev.changes"... wc: ../../libopkbuild.1_3.0.0~beta1-1_all_all.opk: No such file or directory wc: ../../opkbuild_3.0.0~beta1-1_all_all.opk: No such file or directory
* src/*.sh: Add ".sh" to header comment.P. J. McDermott2013-08-181-1/+1
|
* opkbuild: Enable ob-genchanges.P. J. McDermott2013-08-171-2/+4
|
* opkbuild: Separate opt_uid0_cmd non-option args.P. J. McDermott2013-06-151-5/+5
| | | | Otherwise, the option arguments might be collected by the opt_uid0_cmd.