summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVratislav Podzimek <vpodzime@redhat.com>2013-02-20 16:27:44 +0100
committerVratislav Podzimek <vpodzime@redhat.com>2013-02-22 07:18:22 +0100
commitbbf9b612ac613813e085a090115fa7b2cc4ae4dc (patch)
treee3dd2b4d09fd5ded0454b6b1c76d9b618499ccb6
parent09ed5b4cc086edf6dc1b6840f81bd9c6abef05d1 (diff)
downloadanaconda-bbf9b612ac613813e085a090115fa7b2cc4ae4dc.tar.gz
anaconda-bbf9b612ac613813e085a090115fa7b2cc4ae4dc.tar.xz
anaconda-bbf9b612ac613813e085a090115fa7b2cc4ae4dc.zip
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.
-rwxr-xr-xscripts/makeupdates4
1 files changed, 2 insertions, 2 deletions
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')