aboutsummaryrefslogtreecommitdiff
path: root/scripts/paku
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/paku')
-rwxr-xr-xscripts/paku7
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>