Allow filling __issue from stdin

closes #130
This commit is contained in:
Jonas Weber 2018-01-31 12:03:21 +00:00
parent ed1a53dda2
commit 2069650e74

View file

@ -25,6 +25,9 @@ os="$(cat "$__global/explorer/os")"
if [ -f "$__object/parameter/source" ]; then if [ -f "$__object/parameter/source" ]; then
source="$(cat "$__object/parameter/source")" source="$(cat "$__object/parameter/source")"
if [ "$source" = "-" ]; then
source="${__object}/stdin"
fi
else else
case "$os" in case "$os" in
archlinux|redhat) archlinux|redhat)