Ticket #3730: 3730-0012-fixup-extfs-uzip-make-it-testable.patch

File 3730-0012-fixup-extfs-uzip-make-it-testable.patch, 974 bytes (added by mooffie, 2 years ago)
  • src/vfs/extfs/helpers/uzip.in

    From b954b7dedf442d743ae8833414396cf555c1120d Mon Sep 17 00:00:00 2001
    From: Mooffie <mooffie@gmail.com>
    Date: Wed, 14 Dec 2016 13:11:13 +0200
    Subject: [PATCH] fixup! extfs: uzip: make it testable.
    
    ---
     src/vfs/extfs/helpers/uzip.in | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/src/vfs/extfs/helpers/uzip.in b/src/vfs/extfs/helpers/uzip.in
    index beace66..22466db 100644
    a b my $app_zip = "@ZIP@"; 
    1919# Location of the unzip program 
    2020my $app_unzip = $ENV{MC_TEST_EXTFS_LIST_CMD} || "@UNZIP@"; 
    2121# Set this to 1 if zipinfo (unzip -Z) is to be used (recommended), otherwise 0. 
    22 my $op_has_zipinfo = $ENV{MC_TEST_EXTFS_HAVE_ZIPINFO} || @HAVE_ZIPINFO@; 
     22my $op_has_zipinfo = exists($ENV{MC_TEST_EXTFS_HAVE_ZIPINFO}) ? $ENV{MC_TEST_EXTFS_HAVE_ZIPINFO} : @HAVE_ZIPINFO@; 
    2323 
    2424# Command used to list archives (zipinfo mode) 
    2525my $cmd_list_zi = "$app_unzip -Z -l -T";