[SCM] debian-live/live-helper branch, master, updated. 1.0_a38-1-8-g31913a9

Daniel Baumann daniel at debian.org
Fri Feb 29 11:10:55 UTC 2008


The following commit has been merged in the master branch:
commit 31913a9a616bbc627ccdd6a9a389e0b96dd3dbbe
Author: Daniel Baumann <daniel at debian.org>
Date:   Fri Feb 29 12:10:35 2008 +0100

    Changing version scheme for snapshots.

diff --git a/examples/cron/snapshots.sh b/examples/cron/snapshots.sh
index 2642646..6570737 100755
--- a/examples/cron/snapshots.sh
+++ b/examples/cron/snapshots.sh
@@ -64,21 +64,21 @@ do
 	REVISION="$(date -d "${REVISION}" +%Y%m%d.%H%M%S)"
 
 	# Check for existing package
-	if [ ! -f "${SERVER}"/${PACKAGE}_${VERSION}~${REVISION}.dsc ] || [ "${1}" = "--force" ]
+	if [ ! -f "${SERVER}"/${PACKAGE}_${VERSION}+${REVISION}.dsc ] || [ "${1}" = "--force" ]
 	then
 		UPDATE_INDICES="true"
 
 		# Renaming directory
-		mv "${TEMPDIR}"/${PACKAGE} "${TEMPDIR}"/${PACKAGE}-${VERSION}~${REVISION}
+		mv "${TEMPDIR}"/${PACKAGE} "${TEMPDIR}"/${PACKAGE}-${VERSION}+${REVISION}
 
 		# Building package
-		cd "${TEMPDIR}"/${PACKAGE}-${VERSION}~${REVISION}
+		cd "${TEMPDIR}"/${PACKAGE}-${VERSION}+${REVISION}
 		rm -rf .git
-		dch --force-bad-version --newversion ${VERSION}~${REVISION} --distribution UNRELEASED Autobuild snapshot of SVN r${REVISION}.
+		dch --force-bad-version --newversion ${VERSION}+${REVISION} --distribution UNRELEASED Autobuild snapshot of SVN r${REVISION}.
 		dpkg-buildpackage -rfakeroot -sa -uc -us
 
 		# Removing sources
-		rm -rf "${TEMPDIR}"/${PACKAGE}-${VERSION}~${REVISION}
+		rm -rf "${TEMPDIR}"/${PACKAGE}-${VERSION}+${REVISION}
 
 		# Creating directory
 		mkdir -p "${SERVER}"

-- 
debian-live/live-helper



More information about the debian-live-changes mailing list