diff options
author | Mattias Andrée <maandree@operamail.com> | 2012-08-18 15:30:11 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2012-08-18 15:30:11 +0200 |
commit | a2bd6fee37f1a1d950dfc19359ce58a818b2d862 (patch) | |
tree | 470e56a932b31e64bd284b4c0ecd0b823396b76d /ponysay | |
parent | 578c5b24a89f528685271c190ed6ed13fd16cc7b (diff) | |
download | ponysay-a2bd6fee37f1a1d950dfc19359ce58a818b2d862.tar.gz ponysay-a2bd6fee37f1a1d950dfc19359ce58a818b2d862.tar.bz2 ponysay-a2bd6fee37f1a1d950dfc19359ce58a818b2d862.zip |
m make
Diffstat (limited to 'ponysay')
-rwxr-xr-x | ponysay | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |