summaryrefslogtreecommitdiff
path: root/test-chill/testchill/chill.py
diff options
context:
space:
mode:
Diffstat (limited to 'test-chill/testchill/chill.py')
-rw-r--r--test-chill/testchill/chill.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-chill/testchill/chill.py b/test-chill/testchill/chill.py
index b881ef4..05f3b4f 100644
--- a/test-chill/testchill/chill.py
+++ b/test-chill/testchill/chill.py
@@ -188,7 +188,7 @@ class BuildChillTestCase(test.TestCase):
if self.test_result.passed():
if self.config.bin_dir:
util.shell('mv', [os.path.join(self.config.chill_dir, self.config.make_target()), os.path.join(self.config.bin_dir, self.config.name())])
- else:
+ elif not self.config.make_target() == self.config.name():
util.shell('mv', [os.path.join(self.config.chill_dir, self.config.make_target()), os.path.join(self.config.chill_dir, self.config.name())])