extract-odp-netlink-h: Portablitiy improvement
authorYAMAMOTO Takashi <yamamoto@midokura.com>
Wed, 14 Oct 2015 04:30:51 +0000 (04:30 +0000)
committerYAMAMOTO Takashi <yamamoto@midokura.com>
Thu, 26 Nov 2015 09:36:51 +0000 (18:36 +0900)
\t is GNU sed extension.  Use [[:space:]] instead.

Signed-off-by: YAMAMOTO Takashi <yamamoto@midokura.com>
Acked-by: Ben Pfaff <blp@ovn.org>
build-aux/extract-odp-netlink-h

index b414330..aafe69a 100755 (executable)
@@ -23,7 +23,7 @@ $i\
 # Use OVS's own struct eth_addr instead of a 6-byte char array.
 s,<linux/types\.h>,"openvswitch/types.h",
 s,#.*<linux/if_ether\.h>,,
-s/__u8[ \t]*\([a-zA-Z0-9_]*\)[ \t]*\[[ \t]*ETH_ALEN[ \t]*\]/struct eth_addr \1/
+s/__u8[[:space:]]*\([a-zA-Z0-9_]*\)[[:space:]]*\[[[:space:]]*ETH_ALEN[[:space:]]*\]/struct eth_addr \1/
 
 # Transform most Linux-specific __u<N> types into C99 uint<N>_t types,
 # and most Linux-specific __be<N> into Open vSwitch ovs_be<N>,