projects
/
koha-ffzg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1125f4f
)
further correction to the invocation of unzip
author
Galen Charlton
<gmcharlt@gmail.com>
Wed, 6 Oct 2010 23:55:01 +0000
(19:55 -0400)
committer
Galen Charlton
<gmcharlt@gmail.com>
Wed, 6 Oct 2010 23:55:01 +0000
(19:55 -0400)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
tools/picture-upload.pl
patch
|
blob
|
history
diff --git
a/tools/picture-upload.pl
b/tools/picture-upload.pl
index
b60f83c
..
4642365
100755
(executable)
--- a/
tools/picture-upload.pl
+++ b/
tools/picture-upload.pl
@@
-95,7
+95,7
@@
if ( ($op eq 'Upload') && $uploadfile ) { # Case is important in these ope
}
close $tfh;
if ( $filetype eq 'zip' ) {
- unless (system("unzip",
"$tempfile -d $dirname"
) == 0) {
+ unless (system("unzip",
$tempfile, '-d', $dirname
) == 0) {
$errors{'UZIPFAIL'} = $uploadfilename;
$template->param( ERRORS => [ \%errors ] );
output_html_with_http_headers $input, $cookie, $template->output; # This error is fatal to the import, so bail out here