diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-04-01 14:33:30 +0200 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-04-01 14:33:30 +0200 |
commit | 7d2c52b21ff28c80d28a1408cf6abb85d7725848 (patch) | |
tree | 2abdf8abdb7a5dac3ec3df36d497431283f86397 /scripts/meta | |
parent | d2d813c04ce37cdb4a283dcd60b7986882970be5 (diff) |
added po-connect-4 markdown files for testing + todo
Diffstat (limited to 'scripts/meta')
-rwxr-xr-x | scripts/meta | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/scripts/meta b/scripts/meta index f33ea3d..e869d0b 100755 --- a/scripts/meta +++ b/scripts/meta @@ -11,8 +11,12 @@ if [[ $tag_name = "tags" ]]; then sed -z '$ s/\n$//' |\ jq --raw-input --slurp 'split("\n")' else - echo $output |\ - sed -z '$ s/\n$//' |\ - jq --raw-input + if [[ $output = "" ]]; then + echo "" | jq --raw-input + else + echo $output |\ + sed -z '$ s/\n$//' |\ + jq --raw-input + fi fi |