diff options
author | mynacol | 2022-06-12 01:34:25 +0200 |
---|---|---|
committer | mynacol | 2022-06-12 01:34:25 +0200 |
commit | 70c6f13e497730d3f7d905af7b549ffe367a41ec (patch) | |
tree | 4ec0ae49a527cde70be797450bc5d2d179d8127a | |
parent | 7a16f4edcf490948018b34fabb1065aa9be046e6 (diff) | |
download | aur-70c6f13e497730d3f7d905af7b549ffe367a41ec.tar.gz |
Avoid grep
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -39,7 +39,7 @@ package() { # Add symlinks to binaries to usr/bin/ mkdir -p usr/bin/ # lld is also provided by extra/lld, not creating symlink - binaries=$(find "${target}" -maxdepth 1 -type f -executable -printf "%f\n" | grep -v lld) + binaries=$(find "${target}" -maxdepth 1 -type f -executable -not -iname lld -printf "%f\n") for f in ${binaries[@]} do ln -s "/$target/$f" "usr/bin/$f" |