diff options
author | Daniel Baumann <daniel@debian.org> | 2010-05-09 13:46:21 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:17:07 +0100 |
commit | 2bc0dad3fb1c5ee2a182dc2170c7245d8242ac12 (patch) | |
tree | 1e2d0588b8510520f7a54d3d302e55b0bcc63351 /helpers/source_tar | |
parent | d71e07c601f3e0cd7beb54ad75b377816f615840 (diff) | |
download | live-build-2bc0dad3fb1c5ee2a182dc2170c7245d8242ac12.zip live-build-2bc0dad3fb1c5ee2a182dc2170c7245d8242ac12.tar.gz |
Seperating source tarballs into to, one for debian, one for debian-live.
Diffstat (limited to 'helpers/source_tar')
-rwxr-xr-x | helpers/source_tar | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/helpers/source_tar b/helpers/source_tar index da858c4..207e3b4 100755 --- a/helpers/source_tar +++ b/helpers/source_tar @@ -49,14 +49,15 @@ Check_lockfile .lock Create_lockfile .lock # Remove old source -if [ -f source.tar.gz ] -then - rm -f source.tar.gz -fi +rm -f source.debian.tar.gz +rm -f source.debian-live.tar.gz + +# Create tarballs +tar cf source.debian.tar source/debian +gzip ${GZIP_OPTIONS} source.debian.tar -# Create tarball -tar cf source.tar source -gzip ${GZIP_OPTIONS} source.tar +tar cf source.debian-live.tar source/debian-live +gzip ${GZIP_OPTIONS} source.debian-live.tar # Creating stage file Create_stagefile .stage/source_tar |