From a2bd6fee37f1a1d950dfc19359ce58a818b2d862 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 18 Aug 2012 15:30:11 +0200 Subject: m make --- ponysay | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ponysay') 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 -- cgit