- use default MEMSIZE in check_for_ppc
[platform/upstream/build.git] / debtransformzip
1 #! /bin/bash
2
3 if test $# -ne 2; then
4     exit 1
5 fi
6
7 zip="$1"
8 tar="$2"
9
10 tmp=$(mktemp -d)
11 unzip -q -d "$tmp" -- "$zip" || exit 1
12 ( cd "$tmp" && tar czO * ) >"$tar" || exit 1
13 rm -r "$tmp"
14 exit 0