Skip to content

Commit

Permalink
gauche-package populate - Fix license handling
Browse files Browse the repository at this point in the history
  • Loading branch information
shirok committed Jan 30, 2024
1 parent 959df62 commit 4886c9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gauche-package.in
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,8 @@ Options:
(build-path (sys-dirname (gauche-library-directory))
"package-templates"))]
[lic (cond [license (string->symbol (string-downcase license))]
[(~ package'licenses) pair? => car]
[(~ package'licenses) pair?
=> ($ string->symbol $ string-downcase $ car $)]
[else #f])]
[mod (if (pair? (~ package'providing-modules))
(car (~ package'providing-modules))
Expand Down

0 comments on commit 4886c9d

Please sign in to comment.