diff options
author | EuAndreh <eu@euandre.org> | 2021-06-20 06:41:41 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-06-20 06:41:41 -0300 |
commit | 52f9b8dfb34dc7b610251ee3e4c59ce053790a37 (patch) | |
tree | ec60ae67258159a33d2e46ec0a7a563ea940ff9d /scripts/paku | |
parent | aux/ci/report.sh: Update (diff) | |
download | package-repository-52f9b8dfb34dc7b610251ee3e4c59ce053790a37.tar.gz package-repository-52f9b8dfb34dc7b610251ee3e4c59ce053790a37.tar.xz |
Generate dependencies.svg and paku.html inside public/ directly
Diffstat (limited to '')
-rwxr-xr-x | scripts/paku | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/paku b/scripts/paku index 939db80..4f40b4d 100755 --- a/scripts/paku +++ b/scripts/paku @@ -240,7 +240,8 @@ refresh_packages() { } report_index() { - cat <<EOF > paku.html + HTML_OUT='public/paku.html' + cat <<EOF > "$HTML_OUT" <!DOCTYPE html> <html lang="en"> <head> @@ -277,7 +278,7 @@ EOF ID='latest' fi - cat <<EOF >> paku.html + cat <<EOF >> "$HTML_OUT" <li id="$NAME-$ID"> <details> <summary><a href="#$NAME-$ID">$NAME</a> ($VERSION) - $DESCRIPTION</summary> @@ -341,7 +342,7 @@ EOF EOF done - cat <<EOF >> paku.html + cat <<EOF >> "$HTML_OUT" </ul> </body> </html> |