Exit with error from capp gen

This commit is contained in:
Tom Robinson committed 2010-03-02 01:40:00 -08:00
1 parent 92b5b34d17
commit 9c3a579ff8
1 file changed
+3 -1
+3 -1
View File
@@ -174,8 +174,10 @@ function gen(/*va_args*/)
createFrameworksInFile(frameworks, frameworkDestination, options.symlink, options.useCappBuild);
}
else
else {
stream.print("Directory already exists");
OS.exit(1);
}
}
function createFrameworksInFile(/*Array*/ frameworks, /*String*/ aFile, /*Boolean*/ symlink, /*Boolean*/ build, /*Boolean*/ force)