[jhbuild] [autotools] chmod 755 configure after autoreconf (GNOME bug 606218)



commit 541b599b2ff7267c057d72c7738319674c591133
Author: Marc-André Lureau <marcandre lureau gmail com>
Date:   Wed Jan 6 17:15:15 2010 +0100

    [autotools] chmod 755 configure after autoreconf (GNOME bug 606218)
    
    Sometime, the resulting autoreconf configure is not executable,
    let's make sure it is.

 jhbuild/modtypes/autotools.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/jhbuild/modtypes/autotools.py b/jhbuild/modtypes/autotools.py
index 9d4c069..e4e30d0 100644
--- a/jhbuild/modtypes/autotools.py
+++ b/jhbuild/modtypes/autotools.py
@@ -158,6 +158,7 @@ class AutogenModule(Package, DownloadableModule):
                 extra_env.get('ACLOCAL_FLAGS', os.environ.get('ACLOCAL_FLAGS', ''))))
             buildscript.execute(['autoreconf', '-i'], cwd=builddir,
                     extra_env=extra_env)
+            os.chmod(os.path.join(srcdir, 'configure'), 0755)
             cmd = cmd.replace('autoreconf', 'configure')
             cmd = cmd.replace('--enable-maintainer-mode', '')
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]