summaryrefslogtreecommitdiff
path: root/.ci/scripts/common
diff options
context:
space:
mode:
authorliushuyu <liushuyu011@gmail.com>2022-07-04 21:18:17 -0600
committerliushuyu <liushuyu011@gmail.com>2022-07-04 21:21:56 -0600
commit312e5eda66e4e610300bfa178f1c1ce70293bc12 (patch)
treede8f437907743324a95f3a52712d2e48404f35bb /.ci/scripts/common
parent161d6960130085ac5989f64f4f0d7a9c31713498 (diff)
CI: lint scripts
Diffstat (limited to '.ci/scripts/common')
-rw-r--r--.ci/scripts/common/post-upload.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.ci/scripts/common/post-upload.sh b/.ci/scripts/common/post-upload.sh
index 91ef750fe..a4e3070fd 100644
--- a/.ci/scripts/common/post-upload.sh
+++ b/.ci/scripts/common/post-upload.sh
@@ -4,7 +4,7 @@
cp license.txt "$DIR_NAME"
cp README.md "$DIR_NAME"
-if [[ "x${NO_SOURCE_PACK}" == "x" ]]; then
+if [[ -z "${NO_SOURCE_PACK}" ]]; then
tar -cJvf "${REV_NAME}-source.tar.xz" src externals CMakeLists.txt README.md license.txt
cp -v "${REV_NAME}-source.tar.xz" "$DIR_NAME"
fi