[FIX] wrapper script: change the way we go in the upper directory.
bzr revid: vmt@openerp.com-20110208105908-vpkcprw38ufz0x1e
This commit is contained in:
parent
6226c1ed44
commit
09f1a84797
|
@ -11,7 +11,8 @@ if __name__ == "__main__":
|
|||
print '-' * 70
|
||||
|
||||
# Change to the parent directory ...
|
||||
os.chdir(os.path.dirname(os.path.dirname(__file__)))
|
||||
os.chdir(os.path.normpath(os.path.dirname(__file__)))
|
||||
os.chdir('..')
|
||||
# ... and execute the new executable.
|
||||
os.execv('openerp-server.py', sys.argv)
|
||||
|
||||
|
|
Loading…
Reference in New Issue