diff options
author | Leah Rowe <leah@libreboot.org> | 2023-05-18 09:25:25 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-05-18 09:25:25 +0100 |
commit | 83235fb96bd2a426c5d40ce2ad1ccc18049b91bd (patch) | |
tree | 4b46957f008756a004c7ed284dfdcdd6d9d421fd /.gitcheck | |
parent | 6ce77652c6bbb2b2e93f62e21b4ed96c68bd3e74 (diff) |
.gitcheck: check argv when running gitcheck-clean
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to '.gitcheck')
-rwxr-xr-x | .gitcheck | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -21,8 +21,10 @@ Clean(){ } Run(){ -if [ "${1}" = "clean" ]; then - Clean +if [ $# -gt 0 ]; then + if [ "${1}" = "clean" ]; then + Clean + fi else Set_placeholder |