bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #33741] GSGhostscriptImageRep uses hardcoded path /usr/bin/gs


From: Sebastian Reitenbach
Subject: [bug #33741] GSGhostscriptImageRep uses hardcoded path /usr/bin/gs
Date: Tue, 19 Jul 2011 10:31:01 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17

Follow-up Comment #9, bug #33741 (project gnustep):

I haven't looked at the code yet, but the last commens seem to imply you still
run which gs. Instead of relying on the existence of external tools (OK, OK,
which is fairly common ;)
it might work using sth. like this:

[[NSFileManager defaultManager] locateExecutable:@"gs"];

The Zipper uses this to figure out where the external archiver tools are, so I
guess it should also work to find gs.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33741>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]