1#!/bin/sh 2 3# $1 Path to the new version. 4# $2 Path to the old version. 5 6set -x 7set -e 8 9# if called from the external_updater, change to the new dir first 10if [ "$1" != "" ]; then 11 cd $1 12fi 13 14autoreconf -i && ./configure --enable-maintainer-mode --disable-debuginfod --disable-libdebuginfod --without-lzma --without-bzlib --without-zstd 15 16# if called from the external_updater, do not apply any patches as it will do 17# that for us 18if [ "$2" == "" ]; then 19 git apply patches/* 20fi 21