summaryrefslogtreecommitdiffstats
path: root/src/ob-applypatches.sh
Commit message (Collapse)AuthorAgeFilesLines
* 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_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
|
* ob-*: Replace exit with returnPatrick McDermott2019-03-131-2/+2
|
* ob-*: Add return statements after ob_error() callsPatrick McDermott2019-03-131-2/+8
|
* opkbuild, ob-*: set -ePatrick McDermott2019-03-131-0/+2
|
* ob-*: Move function definitions before points of usePatrick McDermott2018-12-251-10/+10
|
* 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-1/+1
|
* ob_use(): RemovePatrick McDermott2018-12-221-4/+0
|
* opkbuild, ob-*: Load newly linked libopkbuildPatrick McDermott2018-12-221-1/+1
|
* libopkbuild: Change output file extension to .shoPatrick McDermott2018-12-221-1/+1
|
* ob-applypatches: Skip non-existing files.P. J. McDermott2013-09-081-0/+1
| | | | If the patches directory exists but is empty, ${patch} will be "../patches/*".
* ob-applypatches: Only run if sources were found.P. J. McDermott2013-09-071-1/+1
| | | | | | | | | | | | | | The following can happen, for example, when using a "source" target to download upstream sources: $ opkbuild -bCT source [...] ob-unpacksource: No native or upstream sources found ob-applypatches: Applying patch "01_fix-ob-applypatches-to-work-with-busybox.patch"... /usr/local/bin/ob-applypatches: 53: cd: can't cd to src patch: **** Can't open patch file ../../patches/01_fix-ob-applypatches-to-work-with-busybox.patch : No such file or directory ob-applypatches: Error: Can't apply patch "01_fix-ob-applypatches-to-work-with-busybox.patch" [...]
* src/*.sh: Add ".sh" to header comment.P. J. McDermott2013-08-181-1/+1
|
* ob-applypatches: Fix to work with BusyBox patch.P. J. McDermott2013-06-181-1/+3
| | | | | | | | | | | | | | | | | | | | | BusyBox's patch applet doesn't support the -d option, which is specified by POSIX.1. Fixes: ob-applypatches: Applying patch "01_better-handle-unrecognized-options.patch"... patch: invalid option -- 'd' BusyBox v1.21.0 (2013-06-15 09:00:55 EDT) multi-call binary. Usage: patch [OPTIONS] [ORIGFILE [PATCHFILE]] -p,--strip N Strip N leading components from file names -i,--input DIFF Read DIFF instead of stdin -R,--reverse Reverse patch -N,--forward Ignore already applied patches -E,--remove-empty-files Remove output files if they become empty ob-applypatches: Error: Can't apply patch "01_better-handle-unrecognized-options.patch"
* s/@@LIBOPKBUILD@@/@@PKGLIBDIR@@/ in sources.P. J. McDermott2013-06-151-1/+1
|
* Exit on failure to parse package metadata.P. J. McDermott2012-11-161-2/+2
|
* Additionally license everything under GPLv2.P. J. McDermott2012-10-161-1/+1
|
* Fix patch pathnames.P. J. McDermott2012-10-091-0/+1
|
* Replace unsafe/unnecessary ls command in for loop.P. J. McDermott2012-10-091-1/+8
|
* Fix some inconsistent quoting in utilities.P. J. McDermott2012-10-041-3/+3
|
* Implement ob-applypatches.P. J. McDermott2012-10-031-0/+55