pinkbyte-overlay/net-misc/gns3/files/gns3-0.7.2_set_qemu_path.patch

13 lines
732 B
Diff
Raw Normal View History

2011-09-07 21:52:54 +04:00
--- /tmp/GNS3-0.7-src/src/GNS3/Ui/ConfigurationPages/Page_PreferencesQemu.py.old 2010-04-12 11:13:56.594820507 +0200
+++ /tmp/GNS3-0.7-src/src/GNS3/Ui/ConfigurationPages/Page_PreferencesQemu.py 2010-04-12 11:15:02.599822184 +0200
@@ -82,8 +82,7 @@
if sys.platform.startswith('win'):
self.conf.qemuwrapper_path = unicode('qemuwrapper.exe')
else:
- path = os.getcwd() + '/qemuwrapper/qemuwrapper.py'
- self.conf.qemuwrapper_path = unicode(path, errors='replace')
+ self.conf.qemuwrapper_path = unicode('/usr/libexec/gns3/qemuwrapper.py')
# Default path to working directory
if self.conf.qemuwrapper_workdir == '':