mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-01-28 22:04:43 -08:00
patchinstall.sh: Implement 'stg' (stacked git) backend.
This commit is contained in:
parent
e01a0f00de
commit
d4fa1d1816
11
debian/tools/patchinstall.sh.in
vendored
11
debian/tools/patchinstall.sh.in
vendored
@ -151,8 +151,17 @@ elif [ "$backend" == "git-apply" ]; then
|
||||
# Stacked GIT backend - import the patches (mainly for developers)
|
||||
elif [ "$backend" == "stg" ]; then
|
||||
|
||||
# Only import the regular patches, no autogenerated ones -
|
||||
# moreover, don't run autoreconf or ./tools/make_requests.
|
||||
enable_autoupdate=0
|
||||
abort "Not implemented."
|
||||
|
||||
patch_apply ()
|
||||
{{
|
||||
echo "Applying $1"
|
||||
if ! echo "staging/$1" | cat - "$1" | (cd "$DESTDIR" && stg import); then
|
||||
abort "Failed to apply patch, aborting!"
|
||||
fi
|
||||
}}
|
||||
|
||||
else
|
||||
abort "Selected backend $backend not supported."
|
||||
|
@ -693,8 +693,17 @@ elif [ "$backend" == "git-apply" ]; then
|
||||
# Stacked GIT backend - import the patches (mainly for developers)
|
||||
elif [ "$backend" == "stg" ]; then
|
||||
|
||||
# Only import the regular patches, no autogenerated ones -
|
||||
# moreover, don't run autoreconf or ./tools/make_requests.
|
||||
enable_autoupdate=0
|
||||
abort "Not implemented."
|
||||
|
||||
patch_apply ()
|
||||
{
|
||||
echo "Applying $1"
|
||||
if ! echo "staging/$1" | cat - "$1" | (cd "$DESTDIR" && stg import); then
|
||||
abort "Failed to apply patch, aborting!"
|
||||
fi
|
||||
}
|
||||
|
||||
else
|
||||
abort "Selected backend $backend not supported."
|
||||
|
Loading…
x
Reference in New Issue
Block a user