Bladeren bron

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 jaren geleden
bovenliggende
commit
5d4c9e650a
1 gewijzigde bestanden met toevoegingen van 0 en 2 verwijderingen
  1. 0
    2
      src/include/mkit.sh

+ 0
- 2
src/include/mkit.sh Bestand weergeven

@@ -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() {