[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

spencer1-locale and awk -v

From: Tony Abou-Assaleh
Subject: spencer1-locale and awk -v
Date: Thu, 25 Mar 2010 00:54:33 -0300
User-agent: Thunderbird (Macintosh/20090302)

'make check' on Mac OS X causes spencer1-locale to fail with an error
than awk doesn't support -v option. The attached patch fixes it by
adding a space after -v.


Tony Abou-Assaleh, PhD
Email:    address@hidden
Web site: http://tony.abou-assaleh.net
LinkedIn: http://www.linkedin.com/in/tabouasssaleh
Twitter:  http://twitter.com/tony_aa
diff --git a/tests/spencer1-locale b/tests/spencer1-locale
index f0b2011..fa9909d 100755
--- a/tests/spencer1-locale
+++ b/tests/spencer1-locale
@@ -15,7 +15,7 @@ fail=0
 # . . . and the following by Henry Spencer.
-${AWK-awk} -vextra_locale=$LOCALE_FR_UTF8 \
+${AWK-awk} -v extra_locale=$LOCALE_FR_UTF8 \
     -f "$abs_srcdir/spencer1-locale.awk" "$abs_srcdir/spencer1.tests" \
   > spencer1-locale.script || fail=1

reply via email to

[Prev in Thread] Current Thread [Next in Thread]