[pacman-dev] Typo in makepkg

Maxime Arthaud maxime.arthaud at gmail.com
Fri Dec 20 10:15:03 EST 2013


Hi,

I just found a typo in makepkg.

Here is the patch :

From 67b42356fc0b00ca9c90d86536fb0047dd6a57c2 Mon Sep 17 00:00:00 2001
From: Maxime Arthaud <maxime.arthaud at gmail.com>
Date: Fri, 20 Dec 2013 16:10:58 +0100
Subject: [PATCH] Fix typo in makepkg

Signed-off-by: Maxime Arthaud <maxime.arthaud at gmail.com>
---
 scripts/makepkg.sh.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 81354df..0896a9c 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
-- 
1.8.5.1

Best regards,
Maxime Arthaud

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/pacman-dev/attachments/20131220/d24df91a/attachment.asc>


More information about the pacman-dev mailing list