3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/build-support/bintools-wrapper
Victor Engmark 2a028c4f46 build-support: Use equivalent valid exit code
`exit -1` is equivalent to `exit 255`, since Bash does modulo 256 on the
number.

As per ShellCheck:

> SC2242 (error): Can only exit with status 0-255. Other data should be
> written to stdout/stderr.
2022-11-29 19:11:45 +13:00
..
add-darwin-ldflags-before.sh
add-flags.sh
add-hardening.sh
darwin-install_name_tool-wrapper.sh
darwin-strip-wrapper.sh
default.nix bintools-wrapper, cc-wrapper: avoid invalid export of 'expand-response-params' 2022-07-31 16:31:13 +01:00
gnu-binutils-strip-wrapper.sh
ld-solaris-wrapper.sh
ld-wrapper.sh gcc: pass --with-build-sysroot=/ for gcc builds 2022-07-23 18:40:07 +01:00
macos-sierra-reexport-hack.bash build-support: Use equivalent valid exit code 2022-11-29 19:11:45 +13:00
setup-hook.sh