[imp] display more interesting message in temporary script, exit with status 1

bzr revid: xmo@tinyerp.com-20091212163305-1f34mz6m0h21u41p
This commit is contained in:
Xavier Morel 2009-12-12 17:33:05 +01:00
parent f95956aaa3
commit 466b6e5d7d
1 changed files with 3 additions and 1 deletions

View File

@ -141,7 +141,9 @@ if not os.getenv('NO_CHECK_MODULES') :
f = file('openerp-server','w')
f.write("""#!/bin/sh
echo "OpenERP Setup - The content of this file is generated at the install stage\n"
echo "Error: the content of this file should have been replaced during "
echo "installation\n"
exit 1
""")
f.close()