Browse Source

Solve or mute last few ShellCheck issues

Alois Mahdal 7 years ago
parent
commit
59bd58a2ca
3 changed files with 3 additions and 1 deletions
  1. 1
    1
      src/include/build.sh
  2. 1
    0
      src/include/mkit.sh
  3. 1
    0
      src/include/vars.sh.skel

+ 1
- 1
src/include/build.sh View File

120
     # Add meat to all skeletons
120
     # Add meat to all skeletons
121
     #
121
     #
122
     local srcpath   # each source path
122
     local srcpath   # each source path
123
-    find -type f -name '*.skel' \
123
+    find . -type f -name '*.skel' \
124
      | while read -r srcpath; do
124
      | while read -r srcpath; do
125
            _build1 "$srcpath"
125
            _build1 "$srcpath"
126
        done
126
        done

+ 1
- 0
src/include/mkit.sh View File

132
     # Check for ini file and some variables
132
     # Check for ini file and some variables
133
     #
133
     #
134
     $MKIT_DRY && MKIT_DEBUG=true
134
     $MKIT_DRY && MKIT_DEBUG=true
135
+    #shellcheck disable=SC2034
135
     MKIT_PROJ_PKGNAME=$(ini 1value "project:pkgname")
136
     MKIT_PROJ_PKGNAME=$(ini 1value "project:pkgname")
136
     test -f "$MKIT_INI" || die "cannot find mkit.ini: $MKIT_INI"
137
     test -f "$MKIT_INI" || die "cannot find mkit.ini: $MKIT_INI"
137
     _chkiniversion
138
     _chkiniversion

+ 1
- 0
src/include/vars.sh.skel View File

1
 #!/bin/bash
1
 #!/bin/bash
2
+#shellcheck disable=SC2034
2
 # MKit - simple install helper
3
 # MKit - simple install helper
3
 # See LICENSE file for copyright and license details.
4
 # See LICENSE file for copyright and license details.
4
 
5