diff options
author | Asbjørn Sloth Tønnesen <ast@2e8.dk> | 2025-08-21 18:03:29 +0000 |
---|---|---|
committer | Asbjørn Sloth Tønnesen <ast@2e8.dk> | 2025-08-21 18:03:29 +0000 |
commit | ad18050a4db8b6cc9ff165b33a437932664ccd08 (patch) | |
tree | 9a91fbc01ef987f51a2ee3e856c0d22fc5a39a8d /qemu | |
parent | be37ac1a83aabe85ccd09b7540c884a0a8e85802 (diff) | |
download | libvirt-routed-subnet-ad18050a4db8b6cc9ff165b33a437932664ccd08.tar.gz libvirt-routed-subnet-ad18050a4db8b6cc9ff165b33a437932664ccd08.tar.xz libvirt-routed-subnet-ad18050a4db8b6cc9ff165b33a437932664ccd08.zip |
fixup shell syntax
Signed-off-by: Asbjørn Sloth Tønnesen <ast@2e8.dk>
Diffstat (limited to 'qemu')
-rwxr-xr-x | qemu | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -49,9 +49,9 @@ get_address_family(){ [ -z "${1##*:*}" ] && echo ipv6 || echo ipv4; } get_config(){ local configfile="$1" - local tag = 'routed-subnet' + local tag='routed-subnet' local ns='https://2e8.dk/libvirt-routed-subnet' - local query = "//*[local-name()='$tag' and namespace-uri()='$ns']" + local query="//*[local-name()='$tag' and namespace-uri()='$ns']" fullxml="$(cat "$configfile")" routingxml="$(xpath "$query" "$fullxml" || true)" if [ -z "$routingxml" ] ; then |