[SCM] Debian Live build scripts branch, master, updated. 1.0.1-1-4-ga120662
Chris Lamb
lamby at debian.org
Mon Sep 22 19:25:45 UTC 2008
The following commit has been merged in the master branch:
commit a120662b9848b9db874b20a2e104cd46eeb229be
Author: Chris Lamb <lamby at debian.org>
Date: Mon Sep 22 20:23:43 2008 +0100
Fix timing issue in create of source tarballs. Patch by Sebastian H <shbugreport at online.de>. (Closes: #499793)
Signed-off-by: Chris Lamb <lamby at debian.org>
diff --git a/helpers/lh_source_debian-live b/helpers/lh_source_debian-live
index cd252ce..36638f6 100755
--- a/helpers/lh_source_debian-live
+++ b/helpers/lh_source_debian-live
@@ -60,18 +60,20 @@ cp -a config source/debian-live
# Create tarball
cd source
+SUFFIX="$(date +%Y%m%d.%s)"
+
if gzip --help | grep -qs '\-\-rsyncable'
then
- tar cf debian-live-config_$(date +%Y%m%d.%s).tar debian-live
- gzip --rsyncable --best debian-live-config_$(date +%Y%m%d.%s).tar
+ tar cf debian-live-config_${SUFFIX}.tar debian-live
+ gzip --rsyncable --best debian-live-config_${SUFFIX}.tar
else
- tar cfz debian-live-config_$(date +%Y%m%d.%s).tar.gz debian-live
+ tar cfz debian-live-config_${SUFFIX}.tar.gz debian-live
fi
cd "${OLDPWD}"
rm -rf source/debian-live/config
-mv source/debian-live-config_*.tar.gz source/debian-live
+mv source/debian-live-config_${SUFFIX}.tar.gz source/debian-live
# Creating stage file
Create_stagefile .stage/source_debian-live
--
Debian Live build scripts
More information about the debian-live-changes
mailing list