aboutsummaryrefslogtreecommitdiff
path: root/ponysay
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-07-20 05:22:46 +0200
committerMattias Andrée <maandree@operamail.com>2012-07-20 05:22:46 +0200
commit122f1da602b9039c1f3dc958f5e1a355a6daf44a (patch)
tree8adf78a4fb19c6c89c50c940b8aca732232c3a6d /ponysay
parent301197ff740addf34ad866cfbc532ad9a205e0bd (diff)
downloadponysay-122f1da602b9039c1f3dc958f5e1a355a6daf44a.tar.gz
ponysay-122f1da602b9039c1f3dc958f5e1a355a6daf44a.tar.bz2
ponysay-122f1da602b9039c1f3dc958f5e1a355a6daf44a.zip
fix on env var
Diffstat (limited to 'ponysay')
-rwxr-xr-xponysay2
1 files changed, 1 insertions, 1 deletions
diff --git a/ponysay b/ponysay
index 2d2a321..04ab745 100755
--- a/ponysay
+++ b/ponysay
@@ -194,7 +194,7 @@ say() {
function wtrunc
{
- if [ "$PONYSAY_FULL_WIDTH" = 'no' ] || [ "$PONYSAY_FULL_WIDTH" = 'n' ] || [ "$PONYSAY_FULL_WIDTH" = '0' ]; then
+ if [ "$PONYSAY_FULL_WIDTH" = 'yes' ] || [ "$PONYSAY_FULL_WIDTH" = 'y' ] || [ "$PONYSAY_FULL_WIDTH" = '1' ]; then
cat
else
WIDTH=`(stty size <&2 || echo 0 0) | cut -d ' ' -f 2`