> Am 06.01.2017 um 10:43 schrieb Ryan Schmidt <ryandes...@macports.org>: > > On Jan 6, 2017, at 03:16, FritzS - gmx wrote: >> >> My script pan.app >> do shell script "export PATH=\"/opt/local/bin:$PATH\" && pan" >> do shell script "/opt/local/bin/pan“ >> works now (without set the path in script it does’t run too) >> >> Pan 0.141 runs now well - but if I closed pan another error message comes >> again: >> sh: gpg2: command not found >> sh: gpg2: command not found (1011) > > Use only the "do shell script" command I showed. Remove the "do shell script" > command you were using before.
Ryan, thanks! Now with only do shell script "export PATH=\"/opt/local/bin:$PATH\" && pan“ it works well. PS: I am not a script guru - but now I understand this script line. Greetings Fritz