diff options
author | EuAndreh <eu@euandre.org> | 2020-12-24 14:25:35 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-12-24 14:25:35 -0300 |
commit | 2838c6e99727251232dfcde43e895f0c37d342fc (patch) | |
tree | 450daa914fe935a63c7396bb5670bf8795c4a2ad | |
parent | Remove include.entries from link-listing.html (diff) | |
download | euandre.org-2838c6e99727251232dfcde43e895f0c37d342fc.tar.gz euandre.org-2838c6e99727251232dfcde43e895f0c37d342fc.tar.xz |
assert-content.sh: Fix ShellCheck
Diffstat (limited to '')
-rwxr-xr-x | scripts/assert-content.sh | 5 |
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 \ |