Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
buildsystem: unpacking / extracting cleanup #3078
I was looking at adjusting PKG_BUILD and came across these cleanups. There shouldn't be anything exciting in here. This replaces a few places that should be using PKG_BUILD too. To ease looking it up, PKG_BUILD is defined in config/path: https://github.com/LibreELEC/LibreELEC.tv/blob/master/config/path#L132
Tested with an RPi build.
Thanks for this cleanup.
One minor (additional) suggestion - in scripts/extract, how would you feel about splitting:
Convert to config/functions/die() Use PKG_BUILD and have it quoted Replace `` with $() Signed-off-by: Ian Leonard <firstname.lastname@example.org>
Add copyright Convert to config/functions/die() Make use of bash default value mechanic Combine some if tests Get PKG_BUILD quoted Replace `` with $() Signed-off-by: Ian Leonard <email@example.com>