Fix watch line expression to catch 4.x series tarballs

Debian patch LP ID #1076897
This commit is contained in:
Duncan Ferguson 2013-02-14 22:17:43 +00:00
parent 74d1cf7f0a
commit dc7b4ccb17
2 changed files with 4 additions and 3 deletions

View file

@ -10,6 +10,7 @@
* Fix migration of .csshrc when not working as expected (Debian bug ID #673507) * 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) * Remove doc references to 'always_tile' as renamed 'window_tiling' (Debian bug ID #697371)
* Updated manpage whatis entries (patch by Tony Mancill) * 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 <duncan_ferguson@user.sf.net> - v4.01_02 2012-12-09 Duncan Ferguson <duncan_ferguson@user.sf.net> - v4.01_02
* Fix logic when using 'autoclose' on the command line or config file * Fix logic when using 'autoclose' on the command line or config file

View file

@ -24,7 +24,7 @@ sub script {
my $comms = $config->{ $config->{comms} }; my $comms = $config->{ $config->{comms} };
my $comms_args = $config->{ $config->{comms} . '_args'}; my $comms_args = $config->{ $config->{comms} . '_args'};
my $command = $config->{command}; my $config_command = $config->{command};
my $autoclose = $config->{auto_close}; my $autoclose = $config->{auto_close};
my $postcommand = $autoclose ? "echo Sleeping for $autoclose seconds; sleep $autoclose" : "echo Press RETURN to continue; read IGNORE"; # : "sleep $autoclose"; 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"; \$command .= "\$svr";
} }
} }
if("$command") { if("$config_command") {
\$command .= " \\\"$command\\\""; \$command .= " \\\"$config_command\\\"";
} }
\$command .= " ; $postcommand"; \$command .= " ; $postcommand";
warn("Running:\$command\\n"); # for debug purposes warn("Running:\$command\\n"); # for debug purposes