From 0820895f73dfc41f37bb63365290815c861013cf Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sun, 17 Feb 2019 04:51:03 +0000 Subject: Parameterize and clean up, now that basic hack seems to work. --- Ratinox | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Ratinox') diff --git a/Ratinox b/Ratinox index 67421e3..33c4de7 100755 --- a/Ratinox +++ b/Ratinox @@ -29,7 +29,7 @@ with xvfbwrapper.Xvfb(fbdir = screencap_dir): snooze() print("Starting XiLinx installer") - xsetup = subprocess.Popen(("./xsetup",), cwd = "/Xilinx_ISE_DS_Lin_14.7_1015_1") + xsetup = subprocess.Popen(("./xsetup",), cwd = os.getenv("XILINX_PKGDIR")) snooze() print("First screen") -- cgit v1.2.3