All pastes #800982 Raw Edit

Something

public text v1 · immutable
#800982 ·published 2007-11-28 22:00 UTC
rendered paste body
diff -u -p -u -r1.19 stepconf.py
--- emc/usr_intf/stepconf/stepconf.py	15 Nov 2007 14:59:43 -0000	1.19
+++ emc/usr_intf/stepconf/stepconf.py	28 Nov 2007 21:59:45 -0000
@@ -57,6 +58,8 @@ if not os.path.isfile(wizard):
     wizard = os.path.join(wizdir, "emc2-wizard.gif")
 
 distdir = os.path.join(os.path.abspath(os.path.dirname(__file__)), "..", "configs", "common")
+if not os.path.isdir(destdir):
+    distdir = os.path.join(os.path.abspath(os.path.dirname(__file__)), "..", "etc", "emc2", "sample-configs", "common")
 if not os.path.isdir(distdir):
     distdir = "/etc/emc2/sample-configs/common"