2 # -*- coding: UTF-8 -*-
7 if __name__ == "__main__":
9 print "DEPRECATED: you are starting the OpenERP server with its old path,"
10 print "please use the new executable (available in the parent directory)."
13 # Change to the parent directory ...
14 os.chdir(os.path.normpath(os.path.dirname(__file__)))
16 # ... and execute the new executable.
17 os.execv('openerp-server', sys.argv)
19 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: