Browse Source

Stop annoying ShellCheck

Alois Mahdal 6 years ago
parent
commit
ec0f3f8f24
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      src/jat_dump.sh.skel

+ 6
- 6
src/jat_dump.sh.skel View File

268
         1:0) many="lines ($size_l)"                     ;;
268
         1:0) many="lines ($size_l)"                     ;;
269
         0:1) many="bytes ($size_b)"                     ;;
269
         0:1) many="bytes ($size_b)"                     ;;
270
         0:0) many="lines ($size_l) and bytes ($size_b)" ;;
270
         0:0) many="lines ($size_l) and bytes ($size_b)" ;;
271
-        *)   jat__log_error "panic: $FUNCNAME"         ;;
271
+        *)   jat__log_error "panic: ${FUNCNAME[1]}"     ;;
272
     esac
272
     esac
273
     echo "$many"
273
     echo "$many"
274
     test -z "$many"
274
     test -z "$many"
314
     oname="$(tr / - <<<"$oname")"
314
     oname="$(tr / - <<<"$oname")"
315
     bloat="$(__jat_dump__count "$opath")"
315
     bloat="$(__jat_dump__count "$opath")"
316
 
316
 
317
-    debug "$FUNCNAME:otype='$otype'"
318
-    debug "$FUNCNAME:opath='$opath'"
319
-    debug "$FUNCNAME:oname='$oname'"
320
-    debug "$FUNCNAME:oorig='$oorig'"
321
-    debug "$FUNCNAME:bloat='$bloat'"
317
+    debug "${FUNCNAME[1]}:otype='$otype'"
318
+    debug "${FUNCNAME[1]}:opath='$opath'"
319
+    debug "${FUNCNAME[1]}:oname='$oname'"
320
+    debug "${FUNCNAME[1]}:oorig='$oorig'"
321
+    debug "${FUNCNAME[1]}:bloat='$bloat'"
322
 
322
 
323
     # start outputting
323
     # start outputting
324
     if test -z "$bloat";
324
     if test -z "$bloat";