From 9a8ef2678dbc73d940af31f33818d0c6ecba7e1a Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Wed, 23 May 2012 05:34:41 +0200 Subject: [PATCH] Make cpio listing more platform compatible. --- patoolib/programs/cpio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patoolib/programs/cpio.py b/patoolib/programs/cpio.py index 939840c..2dbaee5 100644 --- a/patoolib/programs/cpio.py +++ b/patoolib/programs/cpio.py @@ -30,7 +30,7 @@ def extract_cpio (archive, compression, cmd, **kwargs): def list_cpio (archive, compression, cmd, **kwargs): """List a CPIO archive.""" - cmdlist = [cmd, '-t'] + cmdlist = [cmd, '-i', '-t'] if kwargs['verbose']: cmdlist.append('-v') cmdlist.extend(['-F', archive])