|
From: | Paul Eggert |
Subject: | Re: [PATCH] warnings: extend -Wno-foo handling to work through shell vars |
Date: | Thu, 15 Aug 2013 12:39:17 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 |
Eric Blake wrote: > + -Wno-*) gl_positive=`echo ".$gl_positive" | sed 's/^.//; s/^-Wno-/-W/'`;; This should use expr, e.g., gl_positive=-W`expr "X$gl_positive" : 'X-Wno-\(.)\)'`
[Prev in Thread] | Current Thread | [Next in Thread] |