You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-04-13 14:42:51 -07:00
Move generate-patchlist.sh script into folder debian/tools, integrate patch-list-template.diff into the shell script
This commit is contained in:
@ -2,11 +2,11 @@
|
||||
# Installation: ln -s ../../precommit-hook.sh .git/hooks/pre-commit
|
||||
|
||||
git diff --cached --name-status | while read status file; do
|
||||
if [[ "$file" =~ ^patches/ ]] || [[ "$file" =~ ^patch-list-template.diff$ ]]; then
|
||||
if [[ "$file" =~ ^patches/ ]] || [[ "$file" =~ ^debian/tools/generate-patchlist.sh$ ]]; then
|
||||
echo ""
|
||||
echo "*** GENERATING patch-list.patch ***"
|
||||
echo ""
|
||||
./generate-patchlist.sh > patches/patch-list.patch || exit 1
|
||||
debian/tools/generate-patchlist.sh > patches/patch-list.patch || exit 1
|
||||
git add patches/patch-list.patch || exit 1
|
||||
break;
|
||||
fi
|
||||
|
Reference in New Issue
Block a user