Skip to content

Commit

Permalink
fixes regression in common.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
psumbera committed Mar 27, 2024
1 parent 7539f97 commit d83359a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ function apply_patch_series {
gpatch --batch --forward --strip=1 $args -i "$WS/patches-$VERSION/$patch"
done
# Apply SPARC only patches if there are any.
mach | grep sparc > /dev/null || return
test -f "$WS/patches-$VERSION/series-sparc-only" || return
mach | grep sparc > /dev/null || return 0
test -f "$WS/patches-$VERSION/series-sparc-only" || return 0
cat "$WS/patches-$VERSION/series-sparc-only" | while read patch args; do
echo $patch | grep ^\# > /dev/null && continue
gpatch --batch --forward --strip=1 $args -i "$WS/patches-$VERSION/$patch"
Expand Down

0 comments on commit d83359a

Please sign in to comment.