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 6 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,7 +660,7 @@ main() {
660 660
         *)        usage ;;
661 661
     esac
662 662
     updating && init_from_existing
663
-    if $MkLicense; then
663
+    if test -n $License; then
664 664
         known_licenses | grep -qxF "$License" \
665 665
          || die "unknown license (use -L to get list): $License"
666 666
         MkLicense=true