From 4fdd2456d40f69e102e21c8ce06083e3e17693c8 Mon Sep 17 00:00:00 2001 From: Takeshi Nakatani Date: Wed, 15 Nov 2023 12:35:15 +0000 Subject: [PATCH] Fixed a script of not functioning environment in Github Actions --- .github/workflows/linux-ci-helper.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/linux-ci-helper.sh b/.github/workflows/linux-ci-helper.sh index 3c1c200..2decac6 100755 --- a/.github/workflows/linux-ci-helper.sh +++ b/.github/workflows/linux-ci-helper.sh @@ -66,8 +66,8 @@ AWSCLI_ZIP_FILE="awscliv2.zip" #----------------------------------------------------------- # Parameters for configure(set environments) #----------------------------------------------------------- -# shellcheck disable=SC2089 -CONFIGURE_OPTIONS="CXXFLAGS='-O -std=c++03 -DS3FS_PTHREAD_ERRORCHECK=1' --prefix=/usr --with-openssl" +CXXFLAGS="-O -DS3FS_PTHREAD_ERRORCHECK=1" +CONFIGURE_OPTIONS="--prefix=/usr --with-openssl" #----------------------------------------------------------- # OS dependent variables @@ -290,8 +290,8 @@ fi #----------------------------------------------------------- echo "${PRGNAME} [INFO] Set environment for configure options" -# shellcheck disable=SC2090 -export CONFIGURE_OPTIONS +echo "CXXFLAGS=${CXXFLAGS}" >> "${GITHUB_ENV}" +echo "CONFIGURE_OPTIONS=${CONFIGURE_OPTIONS}" >> "${GITHUB_ENV}" echo "${PRGNAME} [INFO] Finish Linux helper for installing packages."