fix "Syntax failure" on function

This commit is contained in:
Jakobus Schürz 2024-02-27 15:01:45 +01:00
parent 20bfb81c31
commit 9732081f34

View file

@ -1410,9 +1410,9 @@ EOF
}
goarchive () {
function goarchive() {
shopt -s extglob
if [ ${#:-0} -gt 0 ]
if [ "{#:-0}" -gt 0 ]
then
case "$1" in
-h)