Package: tgif Version: 1:4.1.45-1 Severity: normal The last condition in line 82 of pstoepsi isn't effective for testing whether or not the input filename ends with ".ps":
if [ . . . "$1" = "$BASE" ] ; then because basename strips paths from the definition of "BASE". Consider this situation: $ pstoepsi input.eps result.epsi pstoepsi correctly detects that the input filename doesn't end with a ".ps". But, in $ pstoepsi ./input.eps result.epsi it fails to do so, because the basename command strips "./" out from the path. A possible fix is to test the input-file name separately: case "$1" in *.ps);; *) echo $USAGE 1>&2; exit 1;; esac Hope this helps, Ryo -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.22-2-686 (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages tgif depends on: ii debconf [debconf-2.0] 1.5.16 Debian configuration management sy ii gettext 0.16.1-2 GNU Internationalization utilities ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library ii libsm6 2:1.0.3-1+b1 X11 Session Management library ii libx11-6 2:1.0.3-7 X11 client-side library ii libxext6 1:1.0.3-2 X11 miscellaneous extension librar ii libxmu6 1:1.0.3-1 X11 miscellaneous utility library ii libxt6 1:1.0.5-3 X11 toolkit intrinsics library tgif recommends no packages. -- debconf information: tgif/papersize: A4 tgif/gridunits: Metric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]