summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMaxime Arthaud <maxime.arthaud@gmail.com>2013-12-21 01:12:53 +0100
committerAllan McRae <allan@archlinux.org>2013-12-21 01:12:53 +0100
commit50e9543908817940792cd9a590c42aed5230c311 (patch)
tree4972d55dfa974fa9ce982bc8e848ecf31b554463 /scripts
parent2f8be5f8db1e157d3bcdac763b79c7989567ca6d (diff)
downloadpacman-50e9543908817940792cd9a590c42aed5230c311.tar.gz
pacman-50e9543908817940792cd9a590c42aed5230c311.tar.xz
makepkg: fix check for distcc
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/makepkg.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 81354dfe..0896a9c0 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -2340,7 +2340,7 @@ check_software() {
fi
# distcc - compilation with distcc
- if check_buildenv "distcc" "y" && ! check_option "distcc" "n" ]]; then
+ if check_buildenv "distcc" "y" && ! check_option "distcc" "n"; then
if ! type -p distcc >/dev/null; then
error "$(gettext "Cannot find the %s binary required for distributed compilation.")" "distcc"
ret=1