Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
aeimer committed Oct 23, 2023
1 parent 3ea5458 commit ecbc472
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci-scripts/generate-aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ yq --version >/dev/null || {

tmpDir="/tmp/parsed-formula"

aliasesCountBefore=$((ls -1 Aliases/*.rb 2>/dev/null || true) | wc -l | tr -d ' ')
aliasesCountBefore=$( (ls -1 Aliases/*.rb 2>/dev/null || true) | wc -l | tr -d ' ')
echo "Found $aliasesCountBefore aliases beforehand"

# TODO: Use search for symlinks and delete instead of plain rm
Expand All @@ -31,5 +31,5 @@ for formulaVersionsFile in "$tmpDir"/*.yaml; do
# TODO: Set Majors.Minors => $formulaName@$major.$minor.rb
done

aliasesCountAfter=$((ls -1 Aliases/*.rb 2>/dev/null || true) | wc -l | tr -d ' ')
aliasesCountAfter=$( (ls -1 Aliases/*.rb 2>/dev/null || true) | wc -l | tr -d ' ')
echo "Found $aliasesCountAfter aliases afterwards -- a change of $((aliasesCountAfter - aliasesCountBefore))"

0 comments on commit ecbc472

Please sign in to comment.