]> sourceware.org Git - lvm2.git/commit
Replace char class :space: with explicit chars
authorZdenek Kabelac <zkabelac@redhat.com>
Wed, 7 Sep 2011 08:31:16 +0000 (08:31 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Wed, 7 Sep 2011 08:31:16 +0000 (08:31 +0000)
commit867e4cfffbd5037a4d897b1c37e25a0779095cfa
treeaff7212f817f7238d4f83ad2eee6871b0c3fcead
parent10ab5428df58e602c8148c101de20022e7ffab5d
Replace char class :space: with explicit chars

Some major distributions are still using 'mawk' and they are not using
the latest version - we end here with hidden dependency on the latest
version of mawk (1.3.4) while i.e. Debian Lenny seems to stay with 1.3.3.
So we end with completely broken  vgimportclone script on such system.

We would need to check for proper support of :space: and abort build if
it doesn't work or simplier replace [:space:] with [ \t] which seems
sufficient to make it work (as can be seen in this patch)

A better fix would be to use command line parameter override - leaving
as FIXME comment.

This patch makes t-vgimportclone.sh test passing on Lenny.
WHATS_NEW
scripts/vgimportclone.sh
test/t-vgimportclone.sh
This page took 0.037823 seconds and 5 git commands to generate.