aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-04-06 15:40:04 -0300
committerEuAndreh <eu@euandre.org>2023-04-06 15:40:04 -0300
commit1d7578c1cffd9c9a9fe173f8e94942bf5aa23149 (patch)
tree253a168ce171c74775f09426731df083b41b6f6f
parentbin/shesc: Remove copied $ENCODE and $DECODE options (diff)
downloaddotfiles-1d7578c1cffd9c9a9fe173f8e94942bf5aa23149.tar.gz
dotfiles-1d7578c1cffd9c9a9fe173f8e94942bf5aa23149.tar.xz
aux/po4a-cfg.sh: Include whatever is given via STDIN
-rwxr-xr-xshare/aux/cases/cp_if/aux/po4a-cfg.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/aux/cases/cp_if/aux/po4a-cfg.sh b/share/aux/cases/cp_if/aux/po4a-cfg.sh
index b20e303..384b2fb 100755
--- a/share/aux/cases/cp_if/aux/po4a-cfg.sh
+++ b/share/aux/cases/cp_if/aux/po4a-cfg.sh
@@ -107,3 +107,7 @@ git ls-files | grep -F '.en.' | while read -r file; do
# shellcheck disable=2016
printf '[type: %s] %s $lang:%s\n' "$TYPE" "$file" "$VAR_FILE"
done
+
+if [ ! -t 0 ]; then
+ cat
+fi