On Sun, Nov 10, 2002 at 09:17:54AM +1100, fish wrote: > redhat vs. debian issue again. this one is harder to solve than the last > one. on debian, python 2.2 is /usr/bin/python2.2. on redhat, i'm > guessing it's /usr/bin/python instead. the #! line at the top points to > /usr/bin/python2.2, since the app won't run under python2.1. don't know > how to fix in a nice friendly way.
Make a wrapper: -------------- snip --------------------------------------------- #!/bin/sh if [ -x /usr/bin/python2.2 ]; then /usr/bin/python2.2 test.py; else /usr/bin/python test.py; fi -------------- snip --------------------------------------------- /g?ran _______________________________________________ devl mailing list devl at freenetproject.org http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl
