Compare commits

...

2 Commits

Author SHA1 Message Date
Icedream edea970001
Remove package name parsing from makepkg-customizepkg.
This caused several undefined variable errors (most notably CARCH).
2023-01-21 06:38:43 +01:00
Icedream 30100e9808
Enable push without defining remote in Git. 2023-01-21 06:37:35 +01:00
2 changed files with 2 additions and 9 deletions

View File

@ -20,15 +20,7 @@ function is_readable_file {
if is_readable_file "$pkgbuild_path" &&
! is_readable_file "$pkgbuild_copy_path";then
source "$pkgbuild_path"
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
customizepkg --modify
fi
exec /usr/bin/makepkg ${@}

View File

@ -198,6 +198,7 @@ set_git_config_if_unset user.email "icedream@icedream.pw"
set_git_config_if_unset user.name "Carl Kittelberger"
#set_git_config_if_unset user.signingkey B5108C5A158A6608AD3361DA1573F6D8EFE4D0CF
set_git_config_if_unset user.signingkey 04ADEF85EA6AEC6F75941E84468BBEEBB9EC6AEA
set_git_config_if_unset push.autoSetupRemote true
# set up git-cola
set_git_config_if_unset cola.spellcheck false