sort | uniq -> LC_ALL=C sort -u

This commit is contained in:
наб 2022-10-29 22:52:19 +02:00
parent 29c58cfe9b
commit 005ee41545
No known key found for this signature in database
GPG Key ID: BCFD0B018D2658F1
2 changed files with 3 additions and 3 deletions

View File

@ -22,12 +22,12 @@ tasks:
- build-gcc: |
cd tzpfms
make
find out/ -maxdepth 1 -type f -exec readelf -d {} + | tee /dev/stderr | grep Shared | sort | uniq
find out/ -maxdepth 1 -type f -exec readelf -d {} + | tee /dev/stderr | grep Shared | LC_ALL=C sort -u
make clean
- build-clang: |
cd tzpfms
CC=clang CXX=clang++ make
find out/ -maxdepth 1 -type f -exec readelf -d {} + | tee /dev/stderr | grep Shared | sort | uniq
find out/ -maxdepth 1 -type f -exec readelf -d {} + | tee /dev/stderr | grep Shared | LC_ALL=C sort -u
- manpages: |
git -C tzpfms/ worktree add ../tzpfms-man man
cd tzpfms-man

View File

@ -32,7 +32,7 @@
if [ -e /etc/nsswitch.conf ]; then
INST_CFG /etc/nsswitch.conf
databases="$(awk '/^group|hosts/ {for(i = 2; i <= NF; ++i) print $i}' /etc/nsswitch.conf | sort | uniq)"
databases="$(awk '/^group|hosts/ {for(i = 2; i <= NF; ++i) print $i}' /etc/nsswitch.conf | LC_ALL=C sort -u)"
for db in $databases; do
for f in /lib/*/"libnss_$db"*; do
INST_LIB "$f"