Browse Source

Remove unnecessary check

A bit convoluted check that cannot fail, since everything now relies on
var.sh being imported, which is guarranteed to set $MKIT_LOCAL to a
non-empty value.
Alois Mahdal 7 years ago
parent
commit
5d4c9e650a
1 changed files with 0 additions and 2 deletions
  1. 0
    2
      src/include/mkit.sh

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

136
     MKIT_PROJ_PKGNAME=$(ini 1value "project:pkgname")
136
     MKIT_PROJ_PKGNAME=$(ini 1value "project:pkgname")
137
     test -f "$MKIT_INI" || die "cannot find mkit.ini: $MKIT_INI"
137
     test -f "$MKIT_INI" || die "cannot find mkit.ini: $MKIT_INI"
138
     _chkiniversion
138
     _chkiniversion
139
-    test -n "$(tr -d '[:space:]' <<<"$MKIT_LOCAL")" \
140
-     || die "MKIT_LOCAL must be non-blank: '$MKIT_LOCAL'"
141
 }
139
 }
142
 
140
 
143
 route() {
141
 route() {