Skip to content

Commit

Permalink
build: make sure profile list is sorted
Browse files Browse the repository at this point in the history
  • Loading branch information
pktpls committed Nov 28, 2024
1 parent 90ea211 commit dcbf91c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function usage() {
echo -n " all"
(
cd "$rootdir/tmp/$orelease/$target"
list=$(make info |& sed -n 's/\(^[a-zA-Z0-9_-]*\)\:$/\1/p' | grep -v Default || true)
list=$(make info |& sed -n 's/\(^[a-zA-Z0-9_-]*\)\:$/\1/p' | sort | grep -v Default || true)
for p in $list; do
echo -n " $p"
done
Expand Down Expand Up @@ -233,7 +233,7 @@ EOF
cp "$rootdir/store/favicon.png" "$d/"

# go over all devices and build them
profilelist=$(make info | sed -n 's/\(^[a-zA-Z0-9_-]*\)\:$/\1/p' | grep -v Default || true)
profilelist=$(make info | sed -n 's/\(^[a-zA-Z0-9_-]*\)\:$/\1/p' | sort | grep -v Default || true)
echo -n "building profiles:"
echo "$profilelist" | xargs echo -n " "
echo
Expand Down

0 comments on commit dcbf91c

Please sign in to comment.