[PATCH 2/2] Use %_prefix macro value when calling configure in makeupdates
Vratislav Podzimek
vpodzime at redhat.com
Wed Feb 20 15:41:05 UTC 2013
Otherwise all the paths end up with the /usr/local prefix and e.g.
the timezone map doesn't find its images.
Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
---
scripts/makeupdates | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/makeupdates b/scripts/makeupdates
index 21b25ec..1ffb166 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')
--
1.7.11.7
More information about the anaconda-patches
mailing list