From b3804ed4459d64a9e4f824b5b17c8fe37fcd6b49 Mon Sep 17 00:00:00 2001 From: Carl Kittelberger Date: Sat, 21 Jan 2023 11:26:30 +0100 Subject: [PATCH] Do not set -u for makepkg-customizepkg due to pkgname detection. --- home/dotfiles/local/bin/makepkg-customizepkg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/dotfiles/local/bin/makepkg-customizepkg b/home/dotfiles/local/bin/makepkg-customizepkg index a145bb7..ee9f93b 100755 --- a/home/dotfiles/local/bin/makepkg-customizepkg +++ b/home/dotfiles/local/bin/makepkg-customizepkg @@ -1,6 +1,7 @@ #!/usr/bin/env bash # makepkg wrapper that calls customizepkg first -set -euf -o pipefail +o history +# NOTE - not setting -u here since pkgname detection runs into undefined variables a lot +set -ef -o pipefail +o history CURRENT_DIR_PATH="$(readlink -f "$(realpath -e "$(pwd)")")" GLOBAL_CONF_DIR_PATH='/etc/customizepkg.d'