Add MSI 1.7 to any Base 3.14 dependency

- add test for patch being applied
- fixes #20
This commit is contained in:
Ralph Lange
2020-04-06 17:46:11 +02:00
parent c8b0894cb6
commit a8bee0552d
3 changed files with 834 additions and 2 deletions
+10 -2
View File
@@ -178,9 +178,17 @@ add_dependency() {
git clone --quiet $deptharg $recurse --branch "$TAG" $repourl $dirname-$TAG
( cd $dirname-$TAG && git log -n1 )
do_recompile=yes
# fix non-base modules that do not include the .local files in configure/RELEASE
if [ $DEP != "BASE" ]
# add MSI to Base 3.14
if [ $DEP == "BASE" ]
then
versionfile=$CACHEDIR/$dirname-$TAG/configure/CONFIG_BASE_VERSION
if [ -e ${versionfile} ] && grep -q "BASE_3_14=YES" ${versionfile}
then
echo "Adding MSI 1.7 to $CACHEDIR/$dirname-$TAG"
( cd $dirname-$TAG; patch -p0 < $curdir/add-msi-to-314.patch )
fi
else
# fix non-base modules that do not include the .local files in configure/RELEASE
release=$CACHEDIR/$dirname-$TAG/configure/RELEASE
if [ -e $release ]
then