Introduction
Introduction Statistics Contact Development Disclaimer Help
Adding #bug-squashing tag. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 362896689ba4259ba1c6e13ccc3227532448c0aa
parent b02c5ebd99e5b485148960a9f1b5225e47a9956c
Author: Annna Robert-Houdin <[email protected]>
Date: Mon, 1 Jun 2020 22:47:31 +0200
Adding #bug-squashing tag.
Diffstat:
M modules/hashtags/hashtags.txt | 1 +
M subtitle-paste | 6 +++++-
2 files changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/modules/hashtags/hashtags.txt b/modules/hashtags/hashtags.txt
@@ -343,6 +343,7 @@
#bubble gopher://bitreich.org/9/memecache/bubble.mp4
#budget gopher://bitreich.org/9/memecache/budget.mkv
#bug-reporting gopher://bitreich.org/I/memecache/bug-reporting.png
+#bug-squashing gopher://bitreich.org/g/memecache/bug-squashing.gif
#bug-to-feature gopher://bitreich.org/I/memecache/bug-to-feature.png
#bugfix gopher://bitreich.org/I/memecache/bugfix.jpg
#bugfree gopher://bitreich.org/I/memecache/bugfree.png
diff --git a/subtitle-paste b/subtitle-paste
@@ -1,5 +1,7 @@
#!/bin/sh
+set -x
+
export PATH="/home/annna/bin:$PATH"
if [ $# -lt 1 ];
@@ -15,7 +17,9 @@ cd "${pastebase}"
tmpfile="$(mktemp -u p-XXXXXXXXXXXXX)"
youtube-dl -q --write-auto-sub --skip-download -o "${tmpfile}" "${url}" 2>/dev…
-ofile="$(basename $(find . -name "${tmpfile}.*"))"
+rfile="$(find . -name "${tmpfile}.*")"
+[ -z "${rfile}" ] && exit 1
+ofile="$(basename "${rfile}")"
[ -z "${ofile}" ] && exit 1
if [ $(stat -c%s "${ofile}") -eq 0 ];
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.