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:
Tk-Glitch
2021-06-17 13:46:24 +02:00
parent d4a4212551
commit 6a7fb8753f
2 changed files with 6 additions and 2 deletions

View File

@@ -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"

View File

@@ -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() {