1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 19:17:45 +00:00

Fix condition in rebuild.sh

This commit is contained in:
RGBCube 2023-05-27 21:52:41 +03:00
parent cda9481abe
commit 31ee618694
No known key found for this signature in database

View file

@ -21,7 +21,7 @@ if [[ $machine == "" ]]; then
read -p "What machine would you like to build? (Possible options: $available_machines): " machine
fi
if [[ $1 == "-c" && $1 == "--clean-garbage" ]]; then
if [[ $1 == "-c" || $1 == "--clean-garbage" ]]; then
clean_garbage=y
else
read -p "Clean garbage? [Y/N]: " clean_garbage