From: cajus Date: Thu, 25 Nov 2010 15:33:28 +0000 (+0000) Subject: Updated build script to not damage the control file X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b231a06e6b677bf359a11fbb0367cdc28b3bf32b;p=gosa.git Updated build script to not damage the control file git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20377 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/contrib/build-gosa b/gosa-core/contrib/build-gosa index 3118243a3..db888eac5 100755 --- a/gosa-core/contrib/build-gosa +++ b/gosa-core/contrib/build-gosa @@ -86,12 +86,12 @@ def build(release, base_url, target="/tmp", method="svn", key_id=None, cleanup=T # Remove smarty3 package section out = "" - control = join(tmp_dir, "debian", "control") + control = join(target_dir, "debian", "control") data = open(control, 'r') remove = False for line in data: - line = line.strip() + line = line.rstrip() if line == "Package: smarty3": remove = True