diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-05-08 14:52:11 +0100 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-05-08 14:52:11 +0100 |
commit | 017f336a5121897cd64179e84ded15e1dd37bd92 (patch) | |
tree | 2ae42241ba854d6c7726ad857195d0f5edafa053 /figlist | |
parent | dee0cd250574b52e74a9390f6f9c1efd818223d4 (diff) | |
parent | 8fdab96d486ba52601544c67c38625480ddf7640 (diff) | |
download | figlet-017f336a5121897cd64179e84ded15e1dd37bd92.tar.gz |
Merge tag 'upstream/2.2.4'
Upstream version 2.2.4
Diffstat (limited to '')
-rwxr-xr-x | figlist | 15 | ||||
-rw-r--r-- | figlist.6 | 2 |
2 files changed, 7 insertions, 10 deletions
@@ -7,14 +7,11 @@ # # Usage: figlist [ -d directory ] -# Set up PATH so figlet can be found -DIRSAVE=`pwd` -cd `dirname "$0"` -PATH="$PATH":`pwd` -cd "$DIRSAVE" +DIR=`dirname $0` +FIGLET=$DIR/figlet # Get figlet version -FIGLETVERSION=`figlet -I1 2>/dev/null` +FIGLETVERSION=`$FIGLET -I1 2>/dev/null` if [ -z "$FIGLETVERSION" ]; then FIGLETVERSION=20000 fi @@ -37,14 +34,14 @@ fi if [ "$FIGLETVERSION" -lt 20100 ]; then # figlet 2.0 - figlet $FONTDIROPT -F + $FIGLET $FONTDIROPT -F exit fi # From here on we may assume figlet 2.1 or later -FONTDIR=`figlet $FONTDIROPT -I2` -FONT=`figlet -I3` +FONTDIR=`$FIGLET $FONTDIROPT -I2` +FONT=`$FIGLET -I3` echo "Default font: $FONT" echo "Font directory: $FONTDIR" @@ -8,7 +8,7 @@ .\" .\" Manual page by Jonathon Abbott, for the Debian Project .\" slightly modified by Francesco Tapparo, for the Debian Project -.TH FIGLIST 6 "12 January 2011" "v2.2.3" +.TH FIGLIST 6 "26 January 2011" "v2.2.4" .SH NAME figlist \- lists figlet fonts and control files |