summaryrefslogtreecommitdiff
path: root/helpers/source_tar
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-05-09 13:46:21 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:07 +0100
commit2bc0dad3fb1c5ee2a182dc2170c7245d8242ac12 (patch)
tree1e2d0588b8510520f7a54d3d302e55b0bcc63351 /helpers/source_tar
parentd71e07c601f3e0cd7beb54ad75b377816f615840 (diff)
downloadlive-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-xhelpers/source_tar15
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