summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/release-build3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/release-build b/scripts/release-build
index 36a38deb..361d32a0 100755
--- a/scripts/release-build
+++ b/scripts/release-build
@@ -98,7 +98,6 @@ class ReleaseApp(cliapp.Application):
os.chdir('..')
if not os.path.exists('release'):
os.mkdir('release')
- os.chdir('release')
self.deploy_images(cluster, cluster_path)
def load_morphology(self, name, kind=None):
@@ -140,7 +139,7 @@ class ReleaseApp(cliapp.Application):
'In %s: system %s.location should be just the base name, '
'e.g. "%s.img"' % (cluster_path, name, name))
- filename = '%s-%s' % (version_label, basename)
+ filename = os.path.join('release', '%s-%s' % (version_label, basename))
if os.path.exists(filename):
self.output.write('Reusing existing deployment of %s\n' % filename)
else: