summaryrefslogtreecommitdiff
path: root/contrib/splice3/LINUX
diff options
context:
space:
mode:
authord3v11 <d3v11@d3v11.ano>2011-09-24 11:21:54 -0500
committerd3v11 <d3v11@d3v11.ano>2011-09-24 11:21:54 -0500
commitf47719352e259f1d4a2b9fece9d00d6b5dfead56 (patch)
treeab4d442d2aab70760e8de207e0d6b1cba4582f48 /contrib/splice3/LINUX
parent7e9b314b9535d1579f09b7a9dad3bfa3119c2d6d (diff)
downloadresdb-f47719352e259f1d4a2b9fece9d00d6b5dfead56.tar.gz
resdb-f47719352e259f1d4a2b9fece9d00d6b5dfead56.zip
fixed bug on splice3 associated with python2.7 interpreter
Diffstat (limited to 'contrib/splice3/LINUX')
-rwxr-xr-xcontrib/splice3/LINUX/splice3.compile15
-rwxr-xr-xcontrib/splice3/LINUX/splice3.py2
2 files changed, 1 insertions, 16 deletions
diff --git a/contrib/splice3/LINUX/splice3.compile b/contrib/splice3/LINUX/splice3.compile
deleted file mode 100755
index 11090b9..0000000
--- a/contrib/splice3/LINUX/splice3.compile
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/python2.7
-from py_compile import compile
-from sys import exit
-
-try:
- compile('LINUX/splice3-deshadow.py', 'LINUX/splice3-deshadow.pyc')
-except:
- print '***ERROR*** splice3: splice3-deshadow.py failed to compile :-('
- exit('quitting...')
-
-try:
- compile('LINUX/splice3.py', 'LINUX/splice3.pyc')
-except:
- print '***ERROR*** splice3: splice3.py failed to compile'
- exit('quitting...')
diff --git a/contrib/splice3/LINUX/splice3.py b/contrib/splice3/LINUX/splice3.py
index 16983a1..91443c2 100755
--- a/contrib/splice3/LINUX/splice3.py
+++ b/contrib/splice3/LINUX/splice3.py
@@ -479,7 +479,7 @@ if StdoutSwitch is True:
if option.Create is False and RestoreSwitch is False:
ShadowSwitch = option.DeShadow
if ShadowSwitch is True:
- option.cmd = "splice3-deshadow PASSWORD '" + ShadowSalt + "' '" + ShadowValue + "'"
+ option.cmd = "splice3-deshadow.py PASSWORD '" + ShadowSalt + "' '" + ShadowValue + "'"
if option.cmd is None:
print "splice3: error: invalid usage"
sys.exit(1)