diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/superpowers/plans/2026-10-19-project-tool.md | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/superpowers/plans/2026-10-19-project-tool.md b/docs/superpowers/plans/2026-10-19-project-tool.md index 5aad3c3..9e2b95f 100644 --- a/docs/superpowers/plans/2026-10-19-project-tool.md +++ b/docs/superpowers/plans/2026-10-19-project-tool.md @@ -124,7 +124,13 @@ dir=$root/$name [ -e "$dir" ] && { echo "$dir already exists" >&2; exit 1; } mkdir -p "$dir" && cd "$dir" || exit 1 -sed "s/<year>/$year/; s/<copyright holders>/$author/" "$here/licenses/$text" > LICENSE +# Only MIT has its holder filled in: the GPL texts carry <year> in their +# how-to-apply appendix, which must stay as published. +if [ $text = mit.txt ]; then + sed "s/<year> <copyright holders>/$year $author/" "$here/licenses/$text" > LICENSE +else + cp "$here/licenses/$text" LICENSE +fi cat > CLAUDE.md <<'EOF' # CLAUDE.md |
