bins/gen-patches: catch diff exit code
This commit is contained in:
parent
fe0fdf9858
commit
26079cf9cb
@ -42,7 +42,7 @@ let
|
||||
dname=$(dirname "$patch")
|
||||
file="$dname/$fname"
|
||||
outfile=$(echo "$dname/$fname" | sed 's;/;_;g')
|
||||
diff -u "$file" "$patch" > "$output/$outfile";
|
||||
diff -u "$patch" "$file" > "$output/$outfile" || \
|
||||
echo "==> Created patch: $output/$outfile"
|
||||
done
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user