]> git.proxmox.com Git - ceph.git/blame - ceph/src/test/run-cli-tests-maybe-unset-ccache
import 14.2.4 nautilus point release
[ceph.git] / ceph / src / test / run-cli-tests-maybe-unset-ccache
CommitLineData
7c673cae
FG
1#!/bin/sh
2set -e
3
4# ccache breaks if it sees CCACHE_DIR="", yet due to clumsiness of
5# /usr/bin/env, it's hard to avoid setting env vars for the parent;
6# unset them if they're empty
7
8if [ -z "$CCACHE_DIR" ]; then
9 unset CCACHE_DIR
10fi
11
12if [ -z "$CC" ]; then
13 unset CC
14fi
15
16if [ -z "$CXX" ]; then
17 unset CXX
18fi
19
20exec "$@"