Entropy/Spritz:
- spritz python executable: export --debug sys.argv entry to SPRITZ_DEBUG env var if set git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2413 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
import sys, os
|
||||
spritz_path = " python /usr/lib/entropy/spritz/spritz.py"
|
||||
su_cmd = "xterm -e \"su -c '"+spritz_path+"'\""
|
||||
if "--debug" in sys.argv:
|
||||
os.environ['SPRITZ_DEBUG'] = "1"
|
||||
sys.argv.remove("--debug")
|
||||
|
||||
def setup_env():
|
||||
global spritz_path, su_cmd
|
||||
|
||||
Reference in New Issue
Block a user