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
Rename patch-tools/ to staging/.
This commit is contained in:
@ -8,8 +8,8 @@ warning()
|
||||
echo ""
|
||||
}
|
||||
|
||||
if git status --porcelain "patch-tools" | grep "^.[^ ]" &> /dev/null; then
|
||||
warning "PLEASE ADD OR STASH YOUR CHANGES IN patch-tools"
|
||||
if git status --porcelain "staging" | grep "^.[^ ]" &> /dev/null; then
|
||||
warning "PLEASE ADD OR STASH YOUR CHANGES IN staging"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@ -19,9 +19,9 @@ if git status --porcelain "patches" | grep -v "^.\\?.*\\.py$" | grep "^.[^ ]" &>
|
||||
fi
|
||||
|
||||
git diff --cached --name-status | while read status file; do
|
||||
if [[ "$file" =~ ^patches/ ]] || [[ "$file" =~ ^patch-tools/ ]]; then
|
||||
if [[ "$file" =~ ^patches/ ]] || [[ "$file" =~ ^staging/ ]]; then
|
||||
warning "UPDATING AUTOGENERATED FILES"
|
||||
./patch-tools/patchupdate.py || exit 1
|
||||
./staging/patchupdate.py || exit 1
|
||||
break;
|
||||
fi
|
||||
done
|
||||
|
Reference in New Issue
Block a user