fix "Syntax failure" on function
This commit is contained in:
parent
20bfb81c31
commit
9732081f34
1 changed files with 2 additions and 2 deletions
|
@ -1410,9 +1410,9 @@ EOF
|
|||
|
||||
}
|
||||
|
||||
goarchive () {
|
||||
function goarchive() {
|
||||
shopt -s extglob
|
||||
if [ ${#:-0} -gt 0 ]
|
||||
if [ "{#:-0}" -gt 0 ]
|
||||
then
|
||||
case "$1" in
|
||||
-h)
|
||||
|
|
Loading…
Reference in a new issue