Remove package name parsing from makepkg-customizepkg.
This caused several undefined variable errors (most notably CARCH).master
parent
30100e9808
commit
edea970001
|
@ -20,15 +20,7 @@ function is_readable_file {
|
||||||
|
|
||||||
if is_readable_file "$pkgbuild_path" &&
|
if is_readable_file "$pkgbuild_path" &&
|
||||||
! is_readable_file "$pkgbuild_copy_path";then
|
! is_readable_file "$pkgbuild_copy_path";then
|
||||||
source "$pkgbuild_path"
|
customizepkg --modify
|
||||||
if [[ -n "${pkgname:-''}" ]];then
|
|
||||||
global_conf_path="${GLOBAL_CONF_DIR_PATH}/${pkgname}"
|
|
||||||
user_conf_path="${USER_CONF_DIR_PATH}/${pkgname}"
|
|
||||||
if is_readable_file "$global_conf_path" ||
|
|
||||||
is_readable_file "$user_conf_path";then
|
|
||||||
customizepkg --modify
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec /usr/bin/makepkg ${@}
|
exec /usr/bin/makepkg ${@}
|
||||||
|
|
Loading…
Reference in New Issue