Do not set -u for makepkg-customizepkg due to pkgname detection.

master
Icedream 2023-01-21 11:26:30 +01:00
parent 59f0b69b20
commit b3804ed445
Signed by: icedream
GPG Key ID: 468BBEEBB9EC6AEA
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# makepkg wrapper that calls customizepkg first # 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)")")" CURRENT_DIR_PATH="$(readlink -f "$(realpath -e "$(pwd)")")"
GLOBAL_CONF_DIR_PATH='/etc/customizepkg.d' GLOBAL_CONF_DIR_PATH='/etc/customizepkg.d'