Skip to content

Commit

Permalink
Builder: Fixed cwd for changes.py
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Dec 30, 2011
1 parent 35c6421 commit e51bdcb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions distrib/builder/changes.py
Expand Up @@ -2,7 +2,6 @@
import os
import utils
from event import Event
import build_version
import config

class Entry:
Expand Down Expand Up @@ -153,11 +152,13 @@ def generate(self, format):
out.close()

elif format == 'deb':
import build_version
build_version.find_version()

# Append the changes to the debian package changelog.
os.chdir(os.path.join(config.DISTRIB_DIR, 'linux'))

# First we need to update the version.
build_version.find_version()
debVersion = build_version.DOOMSDAY_VERSION_FULL_PLAIN + '-' + Event().tag()

# Always make one entry.
Expand Down

0 comments on commit e51bdcb

Please sign in to comment.