Fix some _custom_pkgbase usages such as _custom_pkgbase='linux-tkg-${_cpusched}'
, which require being passed as plain string *before* allowing variables later on.
This commit is contained in:
4
PKGBUILD
4
PKGBUILD
@@ -39,10 +39,10 @@ fi
|
||||
# Make sure we're in a clean state
|
||||
if [ ! -e "$_where"/BIG_UGLY_FROGMINER ]; then
|
||||
_tkg_initscript
|
||||
else
|
||||
source "$_where"/BIG_UGLY_FROGMINER
|
||||
fi
|
||||
|
||||
source "$_where"/BIG_UGLY_FROGMINER
|
||||
|
||||
if [[ "$_sub" = rc* ]]; then
|
||||
_srcpath="linux-${_basekernel}-${_sub}"
|
||||
kernel_site="https://git.kernel.org/torvalds/t/linux-${_basekernel}-${_sub}.tar.gz"
|
||||
|
@@ -258,6 +258,10 @@ _tkg_initscript() {
|
||||
|
||||
# Set compiler
|
||||
_set_compiler
|
||||
|
||||
if [ -n "$_custom_pkgbase" ]; then
|
||||
echo -e "_custom_pkgbase=\"$_custom_pkgbase\"" >> "$_where"/BIG_UGLY_FROGMINER
|
||||
fi
|
||||
}
|
||||
|
||||
user_patcher() {
|
||||
|
Reference in New Issue
Block a user