diff options
author | Vratislav Podzimek <vpodzime@redhat.com> | 2013-02-20 16:27:44 +0100 |
---|---|---|
committer | Vratislav Podzimek <vpodzime@redhat.com> | 2013-02-22 07:18:22 +0100 |
commit | bbf9b612ac613813e085a090115fa7b2cc4ae4dc (patch) | |
tree | e3dd2b4d09fd5ded0454b6b1c76d9b618499ccb6 | |
parent | 09ed5b4cc086edf6dc1b6840f81bd9c6abef05d1 (diff) | |
download | anaconda-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-x | scripts/makeupdates | 4 |
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') |