Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=a57b85be1f4af290b202e5c93404e33f99bcbb8e

commit a57b85be1f4af290b202e5c93404e33f99bcbb8e
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Wed May 27 22:35:14 2009 +0200

include/util.sh: fine-tune --build check

diff --git a/source/include/util.sh b/source/include/util.sh
index c8e103b..aab2fde 100644
--- a/source/include/util.sh
+++ b/source/include/util.sh
@@ -541,7 +541,7 @@ Fconf() {
Fconfopts="$Fconfopts --sysconfdir=$Fsysconfdir"
grep -q localstatedir $_F_conf_configure && \
Fconfopts="$Fconfopts --localstatedir=$Flocalstatedir"
-               grep -q 'build=' $_F_conf_configure && \
+               grep -q -- '--build=' $_F_conf_configure && \
Fconfopts="$Fconfopts --build=$Fbuildchost"
Fexec $_F_conf_configure $Fconfopts "$@" || Fdie
elif [ -f Makefile.PL ]; then
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to