Commit 6a2e1197 authored by Fam Zheng's avatar Fam Zheng
Browse files

docker: Fix PATH for ccache



Before bcd7f06f we source /etc/profile
so the PATH included the right paths to ccache binaries. Now we need to
update $PATH explicitly from run script.

Keep the old /usr/lib around just so that in the future, ccache from 32
bit images will just work.

Signed-off-by: default avatarFam Zheng <famz@redhat.com>
Message-Id: <20171018073841.30062-1-famz@redhat.com>
Signed-off-by: default avatarFam Zheng <famz@redhat.com>
parent 1dc1700a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ fi
BASE="$(dirname $(readlink -e $0))"

# Prepare the environment
export PATH=/usr/lib/ccache:$PATH
export PATH=/usr/lib/ccache:/usr/lib64/ccache:$PATH

if test -n "$J"; then
    export MAKEFLAGS="$MAKEFLAGS -j$J"