merge_upstream.sh: Do not recreate patches by default

This commit is contained in:
SpiritCroc 2024-05-09 09:31:24 +02:00
parent 11adc81230
commit 8b9c72584b

@ -4,11 +4,12 @@ set -e
mydir="$(dirname "$(realpath "$0")")"
if [ "$1" = "-k" ]; then
keep_patches=1
# Update patches?
if [ "$1" = "-u" ]; then
keep_patches=0
shift
else
keep_patches=0
keep_patches=1
fi
pushd "$mydir" > /dev/null