From 1a4c87bafe4bd1e62bfc0353f0be3486efd837c1 Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Sat, 24 Nov 2012 16:40:08 +0000 Subject: Properly distinguish between prefix and install dir --- (limited to 'devbot/autoinstall.py') diff --git a/devbot/autoinstall.py b/devbot/autoinstall.py index bb0e469..053262e 100755 --- a/devbot/autoinstall.py +++ b/devbot/autoinstall.py @@ -27,8 +27,8 @@ def _install(module, file): for variable in makefile: if variable.endswith("_PYTHON"): dir_variable = "%sdir" % variable.replace("_PYTHON", "") - install_dir = makefile[dir_variable] - shutil.copy(file.get_path(), install_dir) + prefix_dir = makefile[dir_variable] + shutil.copy(file.get_path(), prefix_dir) def _changed_cb(monitor, file, other_file, event_flags, module): if event_flags == Gio.FileMonitorEvent.CHANGED: -- cgit v0.9.1