aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorthebirk <pingnor@gmail.com>2018-08-08 17:48:17 +0200
committerthebirk <pingnor@gmail.com>2018-08-08 17:48:17 +0200
commit5e5f5bfa8d209b1d5c7297503e3bc1307c17ea0a (patch)
tree34d9e69683748d6d52d10d0cf864c2ee2b882b11 /src
parent3a1a7b40f97a072f9f42e8f11f4b37685661a1f7 (diff)
Fixed 'sh: main: command not found' error on linux.
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 0f63c0089..aa50620d9 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1084,6 +1084,7 @@ int main(int arg_count, char **arg_ptr) {
remove_temp_files(output_base);
if (run_output) {
+ output_base = path_to_full_path(heap_allocator(), output_base);
system_exec_command_line_app("odin run", false, "\"%.*s\"", LIT(output_base));
}
#endif