From bbf9b612ac613813e085a090115fa7b2cc4ae4dc Mon Sep 17 00:00:00 2001 From: Vratislav Podzimek Date: Wed, 20 Feb 2013 16:27:44 +0100 Subject: Use %_prefix macro value when calling configure in makeupdates Otherwise all the paths end up with the /usr/local prefix and e.g. the timezone map doesn't find its images. --- scripts/makeupdates | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/makeupdates') diff --git a/scripts/makeupdates b/scripts/makeupdates index 21b25ecd3..1ffb166e1 100755 --- a/scripts/makeupdates +++ b/scripts/makeupdates @@ -218,7 +218,7 @@ def copyUpdatedIsys(updates, cwd): if not os.path.isfile('Makefile'): if not os.path.isfile('configure'): os.system('./autogen.sh') - os.system('./configure') + os.system('./configure --prefix=`rpm --eval %_prefix`') os.system('make') @@ -257,7 +257,7 @@ def copyUpdatedWidgets(updates, cwd): if not os.path.isfile('Makefile'): if not os.path.isfile('configure'): os.system('./autogen.sh') - os.system('./configure --enable-gtk-doc --enable-introspection') + os.system('./configure --prefix=`rpm --eval %_prefix` --enable-gtk-doc --enable-introspection') os.system('make') -- cgit