Browse Source

Fix license argument check

Earlier I replaced all checks on $License valiue when I should have
replaced all *but this one*.
Alois Mahdal 7 years ago
parent
commit
a5387a1ca8
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/stub

+ 1
- 1
src/stub View File

660
         *)        usage ;;
660
         *)        usage ;;
661
     esac
661
     esac
662
     updating && init_from_existing
662
     updating && init_from_existing
663
-    if $MkLicense; then
663
+    if test -n $License; then
664
         known_licenses | grep -qxF "$License" \
664
         known_licenses | grep -qxF "$License" \
665
          || die "unknown license (use -L to get list): $License"
665
          || die "unknown license (use -L to get list): $License"
666
         MkLicense=true
666
         MkLicense=true