summaryrefslogtreecommitdiffstats
path: root/scripts/makepkg.sh.in
diff options
context:
space:
mode:
authorAshley Whetter <awhetter.2011@my.bristol.ac.uk>2013-07-12 12:06:38 +0200
committerAllan McRae <allan@archlinux.org>2013-07-22 05:28:52 +0200
commita774e4d5e26f6e88ecf87237449cbbbe21df179f (patch)
tree4d935f18cc318cb8b4beac86e2163bdea2914a83 /scripts/makepkg.sh.in
parent9108bfe08093e0c64a1879c4d74df2ad2c26302c (diff)
downloadpacman-a774e4d5e26f6e88ecf87237449cbbbe21df179f.tar.gz
pacman-a774e4d5e26f6e88ecf87237449cbbbe21df179f.tar.xz
Install makedepends and checkdepends together
Fixes FS#31557 Signed-off-by: Ashley Whetter <awhetter.2011@my.bristol.ac.uk> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/makepkg.sh.in')
-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