.gitcheck: check argv when running gitcheck-clean

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2023-05-18 09:25:25 +01:00
parent 6ce77652c6
commit 83235fb96b
+4 -2
View File
@@ -21,8 +21,10 @@ Clean(){
} }
Run(){ Run(){
if [ "${1}" = "clean" ]; then if [ $# -gt 0 ]; then
Clean if [ "${1}" = "clean" ]; then
Clean
fi
else else
Set_placeholder Set_placeholder