am 39a6a644
: merge from open-source master
Merge commit '39a6a64471b28032d2037d9472d58dc0a77ef313' * commit '39a6a64471b28032d2037d9472d58dc0a77ef313': Create systemtarball either with bz2 or gz
This commit is contained in:
committed by
Android Git Automerger
commit
2a582caba1
@@ -39,7 +39,14 @@ for f in ${subdirs} ${files} ; do
|
||||
done
|
||||
|
||||
if [ $? -eq 0 ] ; then
|
||||
bzip2 -c ${target_tar} > ${target_tarball}
|
||||
case "${target_tarball}" in
|
||||
*.bz2 )
|
||||
bzip2 -c ${target_tar} > ${target_tarball}
|
||||
;;
|
||||
*.gz )
|
||||
gzip -c ${target_tar} > ${target_tarball}
|
||||
;;
|
||||
esac
|
||||
success=$?
|
||||
[ $success -eq 0 ] || rm -f ${target_tarball}
|
||||
rm -f ${target_tar}
|
||||
|
Reference in New Issue
Block a user