[gnome-build-meta] Improve the previous commit to not fail



commit b406d778162816332dcd10ed8b69e1934735d9b6
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Wed May 16 14:28:15 2018 -0500

    Improve the previous commit to not fail
    
    Really fixes #39, hopefully

 project.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/project.conf b/project.conf
index 6980b19..f6f609a 100644
--- a/project.conf
+++ b/project.conf
@@ -90,7 +90,7 @@ elements:
       # to fix compilation on recent architectures such as aarch64.
       autogen: |
         export NOCONFIGURE=1
-        if [ -x %{conf-cmd} ]; then chmod u+w %{conf-aux}/config.{sub,guess} && cp 
/usr/share/automake*/config.{sub,guess} %{conf-aux}
+        if [ -x %{conf-cmd} ]; then chmod u+w %{conf-aux}/config.{sub,guess} ||:; cp 
/usr/share/automake*/config.{sub,guess} %{conf-aux}
         elif [ -x autogen ]; then ./autogen
         elif [ -x autogen.sh ]; then ./autogen.sh
         elif [ -x bootstrap ]; then ./bootstrap


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