diff --git a/Changes b/Changes index bd232d4..c5dbc40 100644 --- a/Changes +++ b/Changes @@ -10,6 +10,7 @@ * Fix migration of .csshrc when not working as expected (Debian bug ID #673507) * Remove doc references to 'always_tile' as renamed 'window_tiling' (Debian bug ID #697371) * Updated manpage whatis entries (patch by Tony Mancill) +* Fix watch line expression to catch 4.x series tarballs (Debian patch LP ID #1076897) 2012-12-09 Duncan Ferguson - v4.01_02 * Fix logic when using 'autoclose' on the command line or config file diff --git a/lib/App/ClusterSSH/Helper.pm b/lib/App/ClusterSSH/Helper.pm index c352e21..4289e77 100644 --- a/lib/App/ClusterSSH/Helper.pm +++ b/lib/App/ClusterSSH/Helper.pm @@ -24,7 +24,7 @@ sub script { my $comms = $config->{ $config->{comms} }; my $comms_args = $config->{ $config->{comms} . '_args'}; - my $command = $config->{command}; + my $config_command = $config->{command}; my $autoclose = $config->{auto_close}; my $postcommand = $autoclose ? "echo Sleeping for $autoclose seconds; sleep $autoclose" : "echo Press RETURN to continue; read IGNORE"; # : "sleep $autoclose"; @@ -119,8 +119,8 @@ sub script { \$command .= "\$svr"; } } - if("$command") { - \$command .= " \\\"$command\\\""; + if("$config_command") { + \$command .= " \\\"$config_command\\\""; } \$command .= " ; $postcommand"; warn("Running:\$command\\n"); # for debug purposes