Fix capp gen -f with no path.

This commit is contained in:
Tom Robinson
2009-09-05 00:37:52 -07:00
parent a619bc15c2
commit c895170597
+2 -2
View File
@@ -45,8 +45,8 @@ function gen(/*va_args*/)
}
}
if (!justFrameworks && destination.length === 0)
destination = "Untitled";
if (destination.length === 0)
destination = justFrameworks ? "." : "Untitled";
var sourceTemplate = null;
if (File.isAbsolute(template))