summaryrefslogtreecommitdiff
path: root/helpers/source_tar
diff options
context:
space:
mode:
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 da858c42b..207e3b409 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