bins/gen-patches: include .diff in the patch name
This commit is contained in:
parent
9f6bbf5869
commit
3aae5a428f
@ -41,7 +41,7 @@ let
|
|||||||
fname=$(basename "$patch" "$suffix")
|
fname=$(basename "$patch" "$suffix")
|
||||||
dname=$(dirname "$patch")
|
dname=$(dirname "$patch")
|
||||||
file="$dname/$fname"
|
file="$dname/$fname"
|
||||||
outfile=$(echo "$dname/$fname" | sed 's;/;_;g')
|
outfile="$(echo "$dname/$fname" | sed 's;/;_;g').diff"
|
||||||
diff -u "$patch" "$file" > "$output/$outfile" || \
|
diff -u "$patch" "$file" > "$output/$outfile" || \
|
||||||
echo "==> Created patch: $output/$outfile"
|
echo "==> Created patch: $output/$outfile"
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user