mirror of
https://git.proxmox.com/git/systemd
synced 2026-01-25 08:51:26 +00:00
Error when patches are empty
This commit is contained in:
parent
b62a2b9481
commit
59eb094908
4
debian/systemd-hack-up-the-source.hook
vendored
4
debian/systemd-hack-up-the-source.hook
vendored
@ -45,6 +45,10 @@ do_patches (){
|
||||
*)
|
||||
git --git-dir "$REPO_DIR/.git" diff "$line" > "$patch_dir/$line"
|
||||
echo "$line" >> "$patch_dir/series"
|
||||
if [ ! -s "$patch_dir/$line" ]; then
|
||||
echo "$line generated empty patch, please fix."
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
Loading…
Reference in New Issue
Block a user