aboutsummaryrefslogtreecommitdiff
path: root/scripts/postinfo
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-04-12 13:23:10 +0200
committerlonkaars <l.leblansch@gmail.com>2021-04-12 13:23:10 +0200
commit92dcfb1a7c8daf18e36442e3a93d8d301f8f6200 (patch)
tree146bea47810c895c0ef1147b8d7bb04982d046e9 /scripts/postinfo
parent766cb1ea97d54d40399ae7d1257b1a7504e718fd (diff)
remove bashism from scripts/postinfo
Diffstat (limited to 'scripts/postinfo')
-rwxr-xr-xscripts/postinfo2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/postinfo b/scripts/postinfo
index 968eb13..c2a1597 100755
--- a/scripts/postinfo
+++ b/scripts/postinfo
@@ -3,7 +3,7 @@
filename=$1
jq -n \
- --argjson title "$(./meta title $filename || '\n')" \
+ --argjson title "$(./meta title $filename)" \
--argjson subtitle "$(./meta subtitle $filename)" \
--argjson author "$(./meta author $filename)" \
--argjson date "$(./meta date $filename)" \