Fix awk variable assignments
[mirror/dsa-puppet.git] / modules / roles / files / static-mirroring / static-master-ssh-wrap
index 8387560..da16215 100755 (executable)
@@ -102,7 +102,7 @@ do_update_component() {
        shift
 
        hit="$(
-               awk -v this_host="$(hostname -f)" component="$component" -v host="$remote_host" '
+               awk -v this_host="$(hostname -f)" -v component="$component" -v host="$remote_host" '
                  $1 == this_host && $2 == component {
                          if ($3 == host) {
                                  print $4