bins/gen-patches: include .diff in the patch name

This commit is contained in:
Aaron Bieber 2023-06-30 11:17:16 -06:00
parent 9f6bbf5869
commit 3aae5a428f
No known key found for this signature in database

View File

@ -41,7 +41,7 @@ let
fname=$(basename "$patch" "$suffix")
dname=$(dirname "$patch")
file="$dname/$fname"
outfile=$(echo "$dname/$fname" | sed 's;/;_;g')
outfile="$(echo "$dname/$fname" | sed 's;/;_;g').diff"
diff -u "$patch" "$file" > "$output/$outfile" || \
echo "==> Created patch: $output/$outfile"
done