aboutsummaryrefslogtreecommitdiff
path: root/src/cli/create_command.zig
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-12-06 14:14:27 -0800
committerGravatar GitHub <noreply@github.com> 2022-12-06 14:14:27 -0800
commit81317a52ea13b39de22d2cdeff8ecc231224f9e7 (patch)
tree677bc306ab6b56937f024a5bdf3e8b624b7137c6 /src/cli/create_command.zig
parent7d29782896f31ae5249f00e9505fd978e9733644 (diff)
downloadbun-81317a52ea13b39de22d2cdeff8ecc231224f9e7.tar.gz
bun-81317a52ea13b39de22d2cdeff8ecc231224f9e7.tar.zst
bun-81317a52ea13b39de22d2cdeff8ecc231224f9e7.zip
Fix glibc symbol version issues preventing `bun install` from being used in older glibc versions (#1580)
* Prevent integer overflow in connectError * Add missing deepEquals() type to Bun * fix missing glibc symbols * Fix missing symbol issues * Try this * Update glibc-versions-hack.cpp * Update glibc-versions-hack.cpp * Update glibc-versions-hack.cpp Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
Diffstat (limited to 'src/cli/create_command.zig')
-rw-r--r--src/cli/create_command.zig12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/cli/create_command.zig b/src/cli/create_command.zig
index c500b8200..c40f4300f 100644
--- a/src/cli/create_command.zig
+++ b/src/cli/create_command.zig
@@ -619,15 +619,9 @@ pub const CreateCommand = struct {
const stat = infile.stat() catch continue;
_ = C.fchmod(outfile.handle, stat.mode);
- CopyFile.copy(infile.handle, outfile.handle) catch {
- entry.dir.copyFile(entry.basename, destination_dir_, entry.path, .{}) catch |err| {
- node_.end();
-
- progress_.refresh();
-
- Output.prettyErrorln("<r><red>{s}<r>: copying file {s}", .{ @errorName(err), entry.path });
- Global.exit(1);
- };
+ CopyFile.copyFile(infile.handle, outfile.handle) catch |err| {
+ Output.prettyErrorln("<r><red>{s}<r>: copying file {s}", .{ @errorName(err), entry.path });
+ Global.exit(1);
};
}
}