diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2007-03-26 10:38:34 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2007-03-26 10:38:34 (GMT) |
commit | 7267047ce66ea3016c1100a6693e7444b179bfea (patch) | |
tree | 3195e56e4bfdc5224576e0fba2b04b71d223a821 | |
parent | 01edb130c178d8901c4e7f0af583f662c097e7b4 (diff) |
Strip the MANIFEST lines
-rw-r--r-- | sugar/activity/bundlebuilder.py | 4 | ||||
-rwxr-xr-x | tools/build-snapshot.sh | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sugar/activity/bundlebuilder.py b/sugar/activity/bundlebuilder.py index 49c9389..6086de3 100644 --- a/sugar/activity/bundlebuilder.py +++ b/sugar/activity/bundlebuilder.py @@ -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() diff --git a/tools/build-snapshot.sh b/tools/build-snapshot.sh index 2c93bde..0c35d36 100755 --- a/tools/build-snapshot.sh +++ b/tools/build-snapshot.sh @@ -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 |