summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipa-gui/ipa-webgui
diff options
context:
space:
mode:
Diffstat (limited to 'ipa-server/ipa-gui/ipa-webgui')
-rw-r--r--ipa-server/ipa-gui/ipa-webgui5
1 files changed, 2 insertions, 3 deletions
diff --git a/ipa-server/ipa-gui/ipa-webgui b/ipa-server/ipa-gui/ipa-webgui
index 9adb5fad..f1608908 100644
--- a/ipa-server/ipa-gui/ipa-webgui
+++ b/ipa-server/ipa-gui/ipa-webgui
@@ -57,11 +57,10 @@ def daemonize():
# environment to load a different configuration and avoid becoming
# a daemon
devel = False
-if os.path.exists(os.path.join(os.path.dirname(__file__), "Makefile")):
+if os.path.exists(os.path.join(os.path.dirname(__file__), "Makefile.am")):
devel = True
-if not devel:
- sys.path.append("/usr/share/ipa/")
+sys.path.append("/usr/share/ipa/")
# this must be after sys.path is changed to work correctly
import pkg_resources