summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin McCarthy <kmccarth@redhat.com>2007-10-23 09:02:55 -0700
committerKevin McCarthy <kmccarth@redhat.com>2007-10-23 09:02:55 -0700
commit60d46ac6607b3ba1e2b525b7f2f1a64b08f778c6 (patch)
tree598f81c24d6329168a84ae002f1734beca9fac89
parent04636b8ae7b759291fe0c49991b3df760d6ad4c2 (diff)
downloadfreeipa-60d46ac6607b3ba1e2b525b7f2f1a64b08f778c6.tar.gz
freeipa-60d46ac6607b3ba1e2b525b7f2f1a64b08f778c6.tar.xz
freeipa-60d46ac6607b3ba1e2b525b7f2f1a64b08f778c6.zip
Fix devel mode for the 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