1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-02-11 21:58:48 +03:00
lvm2/scripts
Mikulas Patocka 3ed801fb95 Fix scripts/relpath.awk to work with mawk
length(array) is specific to GNU awk and doesn't work in mawk.
Use a return value of "split" function to indicate array size, this is
supported in both gawk and mawk.

This patch fixes the following errors during "make install" when mawk is
installed as a default awk.

mawk: scripts/relpath.awk: line 25: illegal reference to array from
mawk: scripts/relpath.awk: line 25: illegal reference to array to
mawk: scripts/relpath.awk: line 27: illegal reference to array from
mawk: scripts/relpath.awk: line 32: illegal reference to array to

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
2010-05-21 15:28:16 +00:00
..
2010-05-20 11:20:35 +00:00
2010-04-14 20:03:46 +00:00
2010-05-20 14:45:14 +00:00