jjb: Fix babeltrace builds without cc
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 30 Apr 2019 21:42:27 +0000 (17:42 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Tue, 30 Apr 2019 21:42:27 +0000 (17:42 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
scripts/babeltrace/build.sh

index cf4906393e0647be73938abc88c236a4aabd167e..58991010e7fd707c74950f89a0e9a90f0e4837c6 100755 (executable)
@@ -144,7 +144,7 @@ clang-7)
     ;;
 esac
 
-if [ "x$CC" != "x" ]; then
+if [ "x${CC:-}" != "x" ]; then
     echo "Selected compiler:"
     "$CC" -v
 fi
This page took 0.024629 seconds and 4 git commands to generate.