summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/makepkg.sh.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 2a391575..06f7c253 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -2952,10 +2952,10 @@ else
fi
msg "$(gettext "Checking buildtime dependencies...")"
- resolve_deps ${makedepends[@]} || deperr=1
-
if (( CHECKFUNC )); then
- resolve_deps ${checkdepends[@]} || deperr=1
+ resolve_deps "${makedepends[@]}" "${checkdepends[@]}" || deperr=1
+ else
+ resolve_deps "${makedepends[@]}" || deperr=1
fi
if (( RMDEPS )); then