summaryrefslogtreecommitdiff
path: root/debtransformxz
diff options
context:
space:
mode:
authorshuai.fu <shuai01.fu@samsung.com>2017-04-22 13:43:02 +0800
committery0169.zhang <y0169.zhang@samsung.com>2017-07-10 11:19:29 +0800
commit24dc605f13d22c9c40999910af164d1f8c5bfd8e (patch)
treeace6b1cfe91019ef6ea452a7fa6bd9d446c4d153 /debtransformxz
parent07c0dbf5da85bc3931186838be1420cfd8a2de7f (diff)
downloadbuild-upstream/20160629.tar.gz
build-upstream/20160629.tar.bz2
build-upstream/20160629.zip
Update to upstream 20160629upstream/20160629
Change-Id: Idc31c269aec94e852b30885dee65a827b318b7a3 Signed-off-by: shuai.fu <shuai01.fu@samsung.com>
Diffstat (limited to 'debtransformxz')
-rwxr-xr-xdebtransformxz6
1 files changed, 6 insertions, 0 deletions
diff --git a/debtransformxz b/debtransformxz
new file mode 100755
index 0000000..91d0f83
--- /dev/null
+++ b/debtransformxz
@@ -0,0 +1,6 @@
+#!/bin/sh
+if test $# -ne 2; then
+ exit 1
+fi
+xz -cd "$1" | gzip -f - >"$2" || exit 1
+exit 0