summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-02-16 11:23:59 (EST)
committer P. J. McDermott <pjm@nac.net>2012-02-16 11:23:59 (EST)
commit30ccdcc3eaa22288bc954e53d808e24fec2f4440 (patch)
treeaacc45a249508f667bce94c6c792571c8ddef0a9
parentab03bed726f4460276dd2c51a71dc99a39daa12d (diff)
Fix source archive compression format detection.
-rw-r--r--lib/archive2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/archive b/lib/archive
index ed1de85..bdb9c11 100644
--- a/lib/archive
+++ b/lib/archive
@@ -37,7 +37,7 @@ oh_archive_extract_source()
# Note: dpkg's source format version 3 supports gzip, bzip2, LZMA, and XZ.
# We support gzip, bzip2, LZMA, and compress, since these are the formats
# supported by BusyBox tar.
- z_ext=${_matches#"../${OH_SRCPKG}-${OH_PKGVER%-*}.tar."}
+ _z_ext=${_matches#"../${OH_SRCPKG}-${OH_PKGVER%-*}.tar."}
case ${_z_ext} in
gz)
_z=z