set CC=cc when unset

This commit is contained in:
edoapra 2021-06-28 21:19:33 -07:00
parent 5ffbab276d
commit ec6d083c4d
No known key found for this signature in database
GPG key ID: 472C4EBB4F3AEDFA

View file

@ -5,7 +5,7 @@ if test -f "/usr/lib/os-release"; then
dist=$(grep ID= /etc/os-release |head -1 |cut -c4-| sed 's/\"//g')
fi
if [ -z "$CC" ] ; then
CC=$cc
CC=cc
fi
if [ -z "$DISTR" ] ; then
DISTR=$dist