aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xscripts/assert-content.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/assert-content.sh b/scripts/assert-content.sh
index 08b256a..1e0170d 100755
--- a/scripts/assert-content.sh
+++ b/scripts/assert-content.sh
@@ -8,6 +8,7 @@ red() { echo -e "${red}${1}${end}"; }
yellow() { echo -e "${yellow}${1}${end}"; }
TRACKERS='-a udp://tracker.coppersurfer.tk:6969/announce -a udp://tracker.ccc.de:80/announce -a udp://tracker.publicbt.com:80 -a udp://tracker.istole.it:80 -a http://tracker.openbittorrent.com:80/announce -a http://tracker.ipv6tracker.org:80/announce'
+# shellcheck disable=2016
AWK_S='
BEGIN {
FRONTMATTER=0
@@ -144,8 +145,8 @@ assert-frontmatter() {
WEBSEED="https://euandre.org/$OGG"
if [ ! -f "$TORRENT" ]; then
yellow "Missing torrent $TORRENT, generating..."
- # shellcheck disable=2086
NOTES="$(awk "$AWK_S" "_podcasts/$DATE-$SLUG.md")"
+ # shellcheck disable=2086
mktorrent $TRACKERS \
-f \
-v \
@@ -186,8 +187,8 @@ assert-frontmatter() {
WEBSEED="https://euandre.org/$WEBM"
if [ ! -f "$TORRENT" ]; then
yellow "Missing torrent $TORRENT, generating..."
- # shellcheck disable=2086
NOTES="$(awk "$AWK_S" "_screencasts/$DATE-$SLUG.md")"
+ # shellcheck disable=2086
mktorrent $TRACKERS \
-f \
-v \