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 {cc,binutils}-wrapper: match leading/trailing arguments 2021-09-20 17:24:04 -07:00
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 stdenv: move --enable-deterministic-archives flag into GNU wrapper 2021-09-18 15:11:17 +02:00
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