Skip to content

Commit

Permalink
[emil] require install dir
Browse files Browse the repository at this point in the history
  • Loading branch information
yretenai committed Apr 29, 2021
1 parent 4f185f3 commit f7ec08c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tool/emil/emil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ int main(int argc, char **argv) {
if (help.was_set())
return 0;

if (!install_dir.was_set())
return 0;

auto install_dir_actual = std::filesystem::path(install_dir.get().string);
auto target_dir_actual = install_dir_actual / "build_assets" / "rom" / "pc";
if (target_dir.was_set()) {
Expand Down

0 comments on commit f7ec08c

Please sign in to comment.