From d51fb42ffada3d89fbab473799923dcd412a4b1a Mon Sep 17 00:00:00 2001 From: Flavio Poletti Date: Sat, 6 Sep 2008 02:46:28 +0200 Subject: [PATCH] fixed a bug in tarfile list --- deployable | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployable b/deployable index 924f246..ef5e570 100755 --- a/deployable +++ b/deployable @@ -80,7 +80,7 @@ binmode $out_fh; print {$out_fh} get_remote_script(); # If a tarfile was given, simply put it and exit -if ($config{tarfile}) { +if (@{$config{tarfile}}) { open my $fh, '<', $config{tarfile} or croak "open('$config{tarfile}'): $OS_ERROR"; print {$out_fh} <$fh>; -- 2.11.4.GIT