All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] lib/oe/unpack.py: unpack rar archives
@ 2011-05-16 11:41 Andreas Oberritter
  2011-05-16 13:03 ` Paul Menzel
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Oberritter @ 2011-05-16 11:41 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
 lib/oe/unpack.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/lib/oe/unpack.py b/lib/oe/unpack.py
index 8e8bf36..fa517d8 100644
--- a/lib/oe/unpack.py
+++ b/lib/oe/unpack.py
@@ -96,6 +96,8 @@ def unpack_file(file, destdir, parameters, env=None):
             if dos:
                 cmd = '%s -a' % cmd
             cmd = "%s '%s'" % (cmd, file)
+        elif file.endswith('.rar'):
+            cmd = 'unrar x %s' % file
 
     if not unpack or not cmd:
         if os.path.isdir(file):
-- 
1.7.2.5




^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-05-16 14:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-16 11:41 [PATCH] lib/oe/unpack.py: unpack rar archives Andreas Oberritter
2011-05-16 13:03 ` Paul Menzel
2011-05-16 14:00   ` Andreas Oberritter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.