Skip to content

Commit

Permalink
Make warning yellow
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaltais committed Jun 23, 2023
1 parent f427221 commit c4ecd60
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions gui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,15 @@ source "$SCRIPT_DIR/venv/bin/activate" || exit 1

# Check if LD_LIBRARY_PATH environment variable exists
if [[ -z "${LD_LIBRARY_PATH}" ]]; then
echo "Warning: LD_LIBRARY_PATH environment variable is not set."
echo "Certain functionalities like 8bit based optimizers may not work correctly."
echo "Please ensure that the required libraries are properly configured."
# Set the ANSI escape sequence for yellow text
YELLOW='\033[0;33m'
# Set the ANSI escape sequence to reset text color
RESET='\033[0m'

echo -e "${YELLOW}Warning: LD_LIBRARY_PATH environment variable is not set.${RESET}"
echo -e "${YELLOW}Certain functionalities may not work correctly.${RESET}"
echo -e "${YELLOW}Please ensure that the required libraries are properly configured.${RESET}"
echo -e " "
fi

# Determine the requirements file based on the system
Expand Down

0 comments on commit c4ecd60

Please sign in to comment.