From 1f1f7f4438f612b239327344b43c8754a882a99c Mon Sep 17 00:00:00 2001 From: omodei Date: Tue, 16 Aug 2022 18:16:44 -0700 Subject: [PATCH] superpower --- .github/workflows/test_and_build.yml | 2 +- build_local.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_and_build.yml b/.github/workflows/test_and_build.yml index 14c2cd4..046bc72 100644 --- a/.github/workflows/test_and_build.yml +++ b/.github/workflows/test_and_build.yml @@ -91,7 +91,7 @@ jobs: if [[ $? -ne 0 ]]; then echo "macOS 10.9 SDK download failed" fi - tar -C /opt -xf MacOSX10.9.sdk.tar.xz + sudo tar -C /opt -xf MacOSX10.9.sdk.tar.xz #conda install -c conda-forge clang_osx-64 clangxx_osx-64 gfortran_osx-64 conda build --python=${{matrix.python-version}} conda_recipe/xspec-modelsonly diff --git a/build_local.sh b/build_local.sh index 4be50a0..ddd0ca1 100755 --- a/build_local.sh +++ b/build_local.sh @@ -27,7 +27,7 @@ elif [[ "$OSTYPE" == darwin* ]]; then if [[ $? -ne 0 ]]; then echo "macOS 10.9 SDK download failed" fi - tar -C /opt/SDK/10.9SDK -xf MacOSX10.9.sdk.tar.xz + sudo tar -C /opt -xf MacOSX10.9.sdk.tar.xz elif [[ "$OSTYPE" == "cygwin" ]]; then # POSIX compatibility layer and Linux environment emulation for Windows