aboutsummaryrefslogtreecommitdiff
path: root/ponysay
diff options
context:
space:
mode:
Diffstat (limited to 'ponysay')
-rwxr-xr-xponysay4
1 files changed, 3 insertions, 1 deletions
diff --git a/ponysay b/ponysay
index 5664f16..99292cc 100755
--- a/ponysay
+++ b/ponysay
@@ -1,7 +1,9 @@
#!/usr/bin/env bash
INSTALLDIR="$(dirname $( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd ))"
-truncatercmd="$INSTALLDIR/lib/ponysay/truncater"
+LIBDIR="$INSTALLDIR/lib/ponysay"
+
+truncatercmd="$LIBDIR/truncater"
scrw=`(stty size <&2 || echo 0 0) | cut -d ' ' -f 2` # Screen width