projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix awk variable assignments
[mirror/dsa-puppet.git]
/
modules
/
roles
/
files
/
static-mirroring
/
static-master-ssh-wrap
diff --git
a/modules/roles/files/static-mirroring/static-master-ssh-wrap
b/modules/roles/files/static-mirroring/static-master-ssh-wrap
index
8387560
..
da16215
100755
(executable)
--- a/
modules/roles/files/static-mirroring/static-master-ssh-wrap
+++ b/
modules/roles/files/static-mirroring/static-master-ssh-wrap
@@
-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