[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Don't require sed to support the -r option.
# HG changeset patch # User cl349@xxxxxxxxxxxxxxxxxxxx # Node ID ab27023d4c5b5746b3d65154f60a9c000fa8f42b # Parent 08353fdf4031167cd1b2c95f4559754503a944be Don't require sed to support the -r option. Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx> --- tools/examples/network-bridge | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 08353fdf4031 -r ab27023d4c5b tools/examples/network-bridge --- a/tools/examples/network-bridge Fri May 19 22:00:28 2006 +0100 +++ b/tools/examples/network-bridge Fri May 19 22:08:32 2006 +0100 @@ -59,7 +59,7 @@ findCommand "$@" findCommand "$@" evalVariables "$@" -vifnum=${vifnum:-$(ip route list | awk '/^default / { print $NF }' | sed -r 's/[^0-9]+//')} +vifnum=${vifnum:-$(ip route list | awk '/^default / { print $NF }' | sed 's/^[^0-9]*//')} bridge=${bridge:-xenbr${vifnum}} netdev=${netdev:-eth${vifnum}} antispoof=${antispoof:-no} _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |