You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
430 B
21 lines
430 B
#!/bin/sh
|
|
|
|
# $1 Path to the new version.
|
|
# $2 Path to the old version.
|
|
|
|
set -x
|
|
set -e
|
|
|
|
# if called from the external_updater, change to the new dir first
|
|
if [ "$1" != "" ]; then
|
|
cd "$1"
|
|
fi
|
|
|
|
autoreconf -i && ./configure --disable-shared
|
|
|
|
# if called from the external_updater, do not apply any patches as it will do
|
|
# that for us, otherwise do if there are any
|
|
if [ "$2" == "" -a -d patches/ ]; then
|
|
git apply patches/*
|
|
fi
|