From 8289a2faa04b96365be84c9fcd0758a5a251090a Mon Sep 17 00:00:00 2001 From: yossizap Date: Sat, 19 Dec 2020 16:12:43 +0000 Subject: [PATCH] Fix ubuntu 16 unbound LD_LIBRARY_PATH error --- .github/workflows/ccpp.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 8e956e7fb4..c337c7ab6a 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -88,7 +88,7 @@ jobs: scripts/fetch_deps.sh source cutter-deps/env.sh export PKG_CONFIG_PATH="$CUTTER_DEPS_PYTHON_PREFIX/lib/pkgconfig:${PKG_CONFIG_PATH:-}" - export LD_LIBRARY_PATH="`llvm-config --libdir`:$LD_LIBRARY_PATH" + export LD_LIBRARY_PATH="`llvm-config --libdir`:${LD_LIBRARY_PATH:+:LD_LIBRARY_PATH:}" fi set -euo pipefail #TODO: move to top once cutter-deps doesn't fail if [[ "${{ matrix.cc-override }}" != "default" ]] @@ -134,7 +134,7 @@ jobs: .. fi ninja - ./src/test/CutterTest + ./src/test/CutterTest if [[ "${{ matrix.package || false }}" = "true" ]] then export CUTTER_VERSION=$(python ../scripts/get_version.py)