Skip to content

Commit

Permalink
Set LC_ALL=C when calling ls
Browse files Browse the repository at this point in the history
The helps guarantee locale does not affect ordering of the result

Co-authored-by: Mario Rodriguez Molins <[email protected]>
  • Loading branch information
andrewkroh and mrodm authored Aug 29, 2024
1 parent 66a1186 commit 6a28d04
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ targets:
#!/usr/bin/env bash
set -eu
pkgs=$(for i in $(ls packages); do
pkgs=$(for i in $(LC_ALL=C ls packages); do
title=$(yq .title packages/$i/manifest.yml)
pkg=$i
echo "- $title [$pkg]"
Expand Down

0 comments on commit 6a28d04

Please sign in to comment.