diff --git a/buildtool.sh b/buildtool.sh index 0952ac9..d4a8956 100755 --- a/buildtool.sh +++ b/buildtool.sh @@ -75,8 +75,12 @@ special "|__/ |_|" empty # Print environment configuration -diagh "\$BUILDTOOL_DEBUG is set, debug mode is enabled" -diagh "\$BUILDTOOL_LOCALDIR is set, will build kernel package from current working directory" +if [ -n "${BUILDTOOL_DEBUG}" ]; then + warnh "\$BUILDTOOL_DEBUG is set, debug mode is enabled" +fi +if [ -n "${BUILDTOOL_LOCALDIR}" ]; then + warnh "\$BUILDTOOL_LOCALDIR is set, will build kernel package from current working directory" +fi # Checks ## Check for Arch Linux