[26727] in Athena Bugs
Re: ps2epsi broken on suns
daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Tue Jan 31 17:08:22 2006
Date: Tue, 31 Jan 2006 17:07:45 -0500 (EST)
Message-Id: <200601312207.k0VM7jk8017293@sipb-office-escape-pod.mit.edu>
From: Garry Zacheiss <zacheiss@mit.edu>
To: Erica H Peterson <astronut@mit.edu>
In-reply-to: "[26725] in Athena Bugs"
X-Spam-Score: 1.217
X-Spam-Level: * (1.217)
X-Spam-Flag: NO
Cc: bugs@mit.edu
Errors-To: bugs-bounces@mit.edu
>> athena% ps2epsi kingston.ps kingston.epsi
>> /usr/sfw/bin/ps2epsi: test: argument expected
The problem is that ps2epsi is using this construct:
if test -e $tmpfile; then
which doesn't work in Solaris /bin/sh because it doesn't support the -e
operation.
I'm not sure what the best way for us to fix this is because it's
Sun-shipped software and they don't appear to have issued a patch for
it, but as a workaround you can eiher "add -f gnu" or "bash
/usr/sfw/bin/ps2epsi".
Possibly the correct answer is to install an attachandrun script in
/usr/athena/bin for the ps2epsi in the gnu locker.
Garry