From 466b6e5d7d20a0ca12a979775ab7af4661cf8fb2 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Sat, 12 Dec 2009 17:33:05 +0100 Subject: [PATCH] [imp] display more interesting message in temporary script, exit with status 1 bzr revid: xmo@tinyerp.com-20091212163305-1f34mz6m0h21u41p --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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()