Ver código fonte

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 anos atrás
pai
commit
5d4c9e650a
1 arquivos alterados com 0 adições e 2 exclusões
  1. 0
    2
      src/include/mkit.sh

+ 0
- 2
src/include/mkit.sh Ver arquivo

@@ -136,8 +136,6 @@ mkit_init() {
136 136
     MKIT_PROJ_PKGNAME=$(ini 1value "project:pkgname")
137 137
     test -f "$MKIT_INI" || die "cannot find mkit.ini: $MKIT_INI"
138 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 141
 route() {