[yast-devel] Broken wildcards in Makefiles
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, It must have happened recently that some wildcards in Makefiles stopped working as expected or maybe some YaST modules just don't like me anymore ;) Anyway, I had to replace Makefile entries like this one $(wildcard [A-Z]*.ycp [A-Z]*.ycp) with $(wildcard [[:upper:]]*.ycp [[:upper:]]*.ycp) to match files starting with upper-case only. They would match all *.ycp, resp. *.pm files despite starting with lower-case otherwise. Does anybody know why it had worked before? Thanks & Bye Lukas -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkjlUQcACgkQVSqMdRCqTiybAQCcC7E0FLaq0yKNiZh/A/RnnAkS Ke0AnRulasueQ6serFtR32Lj6wPY1F88 =G1u/ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
Lukas Ocilka wrote:
Hi,
It must have happened recently that some wildcards in Makefiles stopped working as expected or maybe some YaST modules just don't like me anymore ;)
[...] I noticed that the problem is locale dependent. Doing 'make' in yast2 SVN directory failed with cs_CZ locale. I have to use 'LC_ALL=C make', that works. -- Best Regards Ladislav Slezák Yast Developer ------------------------------------------------------------------------ SUSE LINUX, s.r.o. e-mail: lslezak@suse.cz Lihovarská 1060/12 tel: +420 284 028 960 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
Dňa Friday 03 October 2008 07:07:56 Ladislav Slezak ste napísal:
Lukas Ocilka wrote:
Hi,
It must have happened recently that some wildcards in Makefiles stopped working as expected or maybe some YaST modules just don't like me anymore ;)
[...]
I noticed that the problem is locale dependent. Doing 'make' in yast2 SVN directory failed with cs_CZ locale. I have to use 'LC_ALL=C make', that works.
I was told if LC_COLLATE != C, the alphabet mixes uppercase and lowercase like AaBbCc.... Stano -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
participants (3)
-
Ladislav Slezak
-
Lukas Ocilka
-
Stanislav Visnovsky