summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorXavier Morel <xmo@tinyerp.com>2009-12-12 17:33:05 +0100
committerXavier Morel <xmo@tinyerp.com>2009-12-12 17:33:05 +0100
commit466b6e5d7d20a0ca12a979775ab7af4661cf8fb2 (patch)
tree734c6b38d2f3a1182575f1822de7cc07a0994e34 /setup.py
parentf95956aaa3df89fed985db2a4b8d76f03759ff3e (diff)
[imp] display more interesting message in temporary script, exit with status 1
bzr revid: xmo@tinyerp.com-20091212163305-1f34mz6m0h21u41p
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index e653e97a9ba..764306b907e 100755
--- a/setup.py
+++ b/setup.py
@@ -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()