summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xacprep3
1 files changed, 2 insertions, 1 deletions
diff --git a/acprep b/acprep
index 34a13693..6e9cb01f 100755
--- a/acprep
+++ b/acprep
@@ -291,7 +291,8 @@ class PrepareBuild(CommandLineApp):
if args:
cmd = args[0]
if not PrepareBuild.__dict__.has_key('phase_' + cmd):
- cmd = 'config'
+ sys.stderr.write("Unknown build phase: " + cmd + "\n")
+ sys.exit(1)
else:
args = args[1:]
else: