[gimp/wip/Jehan/macos-build] Fixes:



commit dc2c85aa152ac66cc4892241daada12d8c3b79f3
Author: Jehan <jehan girinstud io>
Date:   Fri Nov 12 18:18:47 2021 +0100

    Fixes:
    
    $ sudo installer -pkg python-3.9.7-macosx11.pkg -target /
    sudo: a terminal is required to read the password; either use the -S option to read from standard input 
or configure an askpass helper
    
    Don't we run as root by default anyway?

 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index adc3731fa9..e62bffb552 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -905,10 +905,10 @@ deps-macos:
     - curl https://sh.rustup.rs -sSf | sh -s -- -y
     # Setup Python3
     - curl -L 'https://www.python.org/ftp/python/3.9.7/python-3.9.7-macos11.pkg' > python-3.9.7-macosx11.pkg
-    - sudo installer -pkg python-3.9.7-macosx11.pkg -target /
+    - installer -pkg python-3.9.7-macosx11.pkg -target /
     # Setup 10.12 SDK
     - cd /Library/Developer/CommandLineTools/SDKs
-    - sudo curl -L 'https://github.com/phracker/MacOSX-SDKs/releases/download/10.15/MacOSX10.12.sdk.tar.xz' 
| sudo tar -xzf -
+    - curl -L 'https://github.com/phracker/MacOSX-SDKs/releases/download/10.15/MacOSX10.12.sdk.tar.xz' | tar 
-xzf -
     - echo 'export SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX10.12.sdk' > ~/.profile
     - echo 'export MACOSX_DEPLOYMENT_TARGET=10.12' >> ~/.profile
     # Setup JHBuild


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