RSS/Atom feed Twitter
Site is read-only, email is disabled

portable shebang

This discussion is connected to the gimp-docs-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

1 of 1 message available
Toggle history

Please log in to manage your subscriptions.

portable shebang Ry?Ta SimaMoto 04 Apr 03:53
Ry?Ta SimaMoto
2010-04-04 03:53:34 UTC (almost 15 years ago)

portable shebang

Hi,

I set a new HDD on my old PC, and my working space is away from Cygwin and back to FreeBSD today, then I bumped on a matter.

tools/xml2po.py doesn't work because its shebang line is an absolute path. Using env(1) command #! /usr/bin/env python
like other scripts in the "tools" folder will solve it. The attached patch file acts this modification. On Wikipedia, they say this change causes another problem ( http://en.wikipedia.org/wiki/Shebang_(Unix)#Portability ), but this altered script works well on FreeBSD in my PC.

Bye, -=-=-=-=-=
SimaMoto,Ry?Ta
http://code.google.com/p/gimp-doc-ja/