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 --disable-shared 15 16# if called from the external_updater, do not apply any patches as it will do 17# that for us, otherwise do if there are any 18if [ "$2" == "" -a -d patches/ ]; then 19 git apply patches/* 20fi 21