Re: [dmraid 1/3] Remove incorrect quoting from pattern in lib/Makefile.in

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

 



On Tue, Feb 02, 2010 at 06:25:45PM +1100, neilb@xxxxxxx wrote:
The [[ string =~ pattern ]]
command in bash only treats unquoted characters in 'pattern'
as being pattern characters.  If they are quoted, they much match
literally.


why all this bashism?

-		if [[ "$$n" =~ '.so$$' ]]; then \

posix would make it if [ -z "$${n##*.so}" ] ; then \

--
Luca Berra -- bluca@xxxxxxxxxx
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux