summaryrefslogtreecommitdiffstats
path: root/scripts/makepkg.sh.in
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2013-06-16 08:33:39 +0200
committerAllan McRae <allan@archlinux.org>2013-06-16 08:33:39 +0200
commit1b08e26846516bfc842841dabe020bef23b79e83 (patch)
treecccdfcc9101826053b105918286708f25fbe358a /scripts/makepkg.sh.in
parent3e0e748b93ef05be06bfb1643cfa697c17afdee5 (diff)
downloadpacman-1b08e26846516bfc842841dabe020bef23b79e83.tar.gz
pacman-1b08e26846516bfc842841dabe020bef23b79e83.tar.xz
makepkg: fix typo for distcc test
Introduced in commit 9dd42dc0. Fixes FS#35741. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/makepkg.sh.in')
-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 a8a552ff..940e947d 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1485,7 +1485,7 @@ run_prepare() {
run_build() {
# use distcc if it is requested (check buildenv and PKGBUILD opts)
- if check_buildenv "distcc" "y" && ! check_option "distc" "n"; then
+ if check_buildenv "distcc" "y" && ! check_option "distcc" "n"; then
[[ -d /usr/lib/distcc/bin ]] && export PATH="/usr/lib/distcc/bin:$PATH"
export DISTCC_HOSTS
fi