summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Uiterwijk <puiterwijk@redhat.com>2014-12-06 12:40:38 -0500
committerSimo Sorce <simo@redhat.com>2014-12-07 16:12:27 -0500
commitd9691d2b0f2b652fdb1e301b03ca017afcaad21a (patch)
treecc750a39b8ce3abdf9d31900066d43e66bfd40a6
parent84170b65575599b710a38f19969af369622fdbaf (diff)
downloadipsilon-d9691d2b0f2b652fdb1e301b03ca017afcaad21a.tar.gz
ipsilon-d9691d2b0f2b652fdb1e301b03ca017afcaad21a.tar.xz
ipsilon-d9691d2b0f2b652fdb1e301b03ca017afcaad21a.zip
Make quickrun create a symlink to ui
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
-rwxr-xr-xquickrun.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/quickrun.py b/quickrun.py
index c39e06a..0722c7b 100755
--- a/quickrun.py
+++ b/quickrun.py
@@ -104,6 +104,11 @@ if __name__ == '__main__':
else:
conf = os.path.join(args['workdir'], 'ipsilon.conf')
+ if not os.path.exists(os.path.join(args['workdir'], 'ui')):
+ os.symlink(os.path.join(os.getcwd(), 'ui'),
+ os.path.join(args['workdir'], 'ui'))
+
+
os.chdir(args['workdir'])
p = subprocess.Popen([exe, conf], env=penv)