mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 11:37:44 +00:00
Fix condition in rebuild.sh
This commit is contained in:
parent
cda9481abe
commit
31ee618694
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ if [[ $machine == "" ]]; then
|
||||||
read -p "What machine would you like to build? (Possible options: $available_machines): " machine
|
read -p "What machine would you like to build? (Possible options: $available_machines): " machine
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $1 == "-c" && $1 == "--clean-garbage" ]]; then
|
if [[ $1 == "-c" || $1 == "--clean-garbage" ]]; then
|
||||||
clean_garbage=y
|
clean_garbage=y
|
||||||
else
|
else
|
||||||
read -p "Clean garbage? [Y/N]: " clean_garbage
|
read -p "Clean garbage? [Y/N]: " clean_garbage
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue