fixup! make/lib: safe_checkout_branch stačí 1 parametr

This commit is contained in:
Pavel "LEdoian" Turinsky 2022-11-20 04:52:51 +01:00
parent 1615e92159
commit 34e751fd69

View file

@ -46,7 +46,7 @@ function only_in_directory {
}
function safe_checkout_branch {
if "$#" -ne 2
if test "$#" -ne 1
then
echo >&2 "Použití: $0 <branch>"
return 1