aboutsummaryrefslogtreecommitdiff
path: root/ponysay
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-08-18 15:30:11 +0200
committerMattias Andrée <maandree@operamail.com>2012-08-18 15:30:11 +0200
commita2bd6fee37f1a1d950dfc19359ce58a818b2d862 (patch)
tree470e56a932b31e64bd284b4c0ecd0b823396b76d /ponysay
parent578c5b24a89f528685271c190ed6ed13fd16cc7b (diff)
downloadponysay-a2bd6fee37f1a1d950dfc19359ce58a818b2d862.tar.gz
ponysay-a2bd6fee37f1a1d950dfc19359ce58a818b2d862.tar.bz2
ponysay-a2bd6fee37f1a1d950dfc19359ce58a818b2d862.zip
m make
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