.gitcheck: check argv when running gitcheck-clean

Signed-off-by: Leah Rowe <leah@libreboot.org>
fsdg20230625
Leah Rowe 2023-05-18 09:25:25 +01:00
parent 6ce77652c6
commit 83235fb96b
1 changed files with 4 additions and 2 deletions

View File

@ -21,8 +21,10 @@ Clean(){
}
Run(){
if [ "${1}" = "clean" ]; then
Clean
if [ $# -gt 0 ]; then
if [ "${1}" = "clean" ]; then
Clean
fi
else
Set_placeholder