Strip the MANIFEST lines

This commit is contained in:
Marco Pesenti Gritti 2007-03-26 12:38:34 +02:00
parent 01edb130c1
commit 7267047ce6
2 changed files with 4 additions and 2 deletions

View File

@ -60,7 +60,9 @@ class _ManifestFileList(list):
f = open(manifest,'r')
for line in f.readlines():
self.append(line[:-1])
stripped_line = line.strip()
if stripped_line:
self.append(stripped_line)
f.close()
defaults = _DefaultFileList()

View File

@ -1,6 +1,6 @@
VERSION=0.63
DATE=`date +%Y%m%d`
RELEASE=2.60
RELEASE=2.61
TARBALL=sugar-$VERSION-$RELEASE.${DATE}git.tar.bz2
rm sugar-$VERSION.tar.bz2