summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2024-04-12 15:43:34 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2024-04-12 15:43:34 +0300
commiteab5beb54cacc2b0dc2cddad4a78634e7468a298 (patch)
tree51f17910f529af57819bcd77f1a7dd9e92f6291e /build.sh
parent00e09ddcad8ec2c33ecbcdd0da09bd7819bc3509 (diff)
parentcc8fdf341dbbe6ab940d7b24bcf81cbed252cb69 (diff)
Merge branch 'main' into marchcat/x-merge
# Conflicts: # indra/llimage/llimageworker.cpp # indra/llimage/llimageworker.h # indra/newview/llcontrolavatar.cpp # indra/newview/llfloaterprofiletexture.cpp # indra/newview/lloutfitslist.cpp # indra/newview/lloutfitslist.h # indra/newview/lltexturefetch.cpp
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/build.sh b/build.sh
index f7b3632ee8..806718e077 100755
--- a/build.sh
+++ b/build.sh
@@ -6,9 +6,6 @@
# it relies on the environment that sets up, functions it provides, and
# the build result post-processing it does.
#
-# The shared buildscript build.sh invokes this because it is named 'build.sh',
-# which is the default custom build script name in buildscripts/hg/BuildParams
-#
# PLEASE NOTE:
#
# * This script is interpreted on three platforms, including windows and cygwin
@@ -112,7 +109,8 @@ installer_CYGWIN()
fi
}
-[[ -n "$GITHUB_OUTPUT" ]] || fatal "Need to export GITHUB_OUTPUT"
+# if someone wants to run build.sh outside the GitHub environment
+[[ -n "$GITHUB_OUTPUT" ]] || export GITHUB_OUTPUT='/dev/null'
# The following is based on the Warning for GitHub multiline output strings:
# https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)