summaryrefslogtreecommitdiff
path: root/scripts/makepkg.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/makepkg.sh.in')
-rw-r--r--scripts/makepkg.sh.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 4f096a36..fd06ce02 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -666,7 +666,8 @@ list_package_files() {
(
export LC_COLLATE=C
shopt -s dotglob globstar
- printf '%s\0' **
+ # bash 5.0 only works with combo directory + file globs
+ printf '%s\0' **/*
)
}