Skip to content

Commit 43e6e55

Browse files
committed
Ensure consistent sort order
1 parent 69b175e commit 43e6e55

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

makepkg.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ build_pkg() {
2323
fi
2424
}
2525

26-
find . -maxdepth 1 -mindepth 1 -type d ! -path './.git' -print0 | while IFS= read -r -d '' dir; do
26+
mapfile -d '' dirs < <(find . -maxdepth 1 -mindepth 1 -type d ! -name '.*' -print0 | sort -z)
27+
28+
for dir in "${dirs[@]}"; do
2729
build_pkg "$dir"
2830
done

0 commit comments

Comments
 (0)