remove Shebang (#!) support

Closes:  #2165
This commit is contained in:
Shawn Landden
2019-04-09 19:16:51 -05:00
committed by Andrew Kelley
parent fb2acaff06
commit 8ef7f6febb
11 changed files with 15 additions and 66 deletions

View File

@@ -331,7 +331,7 @@ int main(int argc, char **argv) {
os_path_split(cwd, nullptr, cwd_basename);
Buf *build_zig_contents = buf_alloc();
if ((err = os_fetch_file_path(build_zig_path, build_zig_contents, false))) {
if ((err = os_fetch_file_path(build_zig_path, build_zig_contents))) {
fprintf(stderr, "Unable to read %s: %s\n", buf_ptr(build_zig_path), err_str(err));
return EXIT_FAILURE;
}
@@ -346,7 +346,7 @@ int main(int argc, char **argv) {
}
Buf *main_zig_contents = buf_alloc();
if ((err = os_fetch_file_path(main_zig_path, main_zig_contents, false))) {
if ((err = os_fetch_file_path(main_zig_path, main_zig_contents))) {
fprintf(stderr, "Unable to read %s: %s\n", buf_ptr(main_zig_path), err_str(err));
return EXIT_FAILURE;
}