/[escript]/trunk/scripts/finley_wrapper_writer.sh
ViewVC logotype

Contents of /trunk/scripts/finley_wrapper_writer.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2291 - (show annotations)
Fri Feb 27 01:53:06 2009 UTC (11 years, 8 months ago) by jfenwick
File MIME type: application/x-sh
File size: 484 byte(s)
Added scripts and such for building debian packages against Debian/Lenny.
Some things like the man page and the package description need some work but the packages produced appear to work.

If people are going to produce .debs please read read the packaging/lenny/README_developers_this_means_you

file.


1 #!/bin/sh
2
3 # Create the finley wrapper script bin/finleypython
4 # by substituting @@VAR@@ for an env variable $VAR
5
6
7 # Note: If you modify this script please also update the packaging scripts which may use similar logic
8
9 PYTHON_CMD=`type python | sed -e 's/.* //'`
10
11 sed \
12 -e "s%@@ESCRIPT_ROOT@@%$ESCRIPT_ROOT%" \
13 -e "s%@@LD_LIBRARY_PATH@@%$LD_LIBRARY_PATH%" \
14 -e "s%@@PYTHONPATH@@%$PYTHONPATH%" \
15 -e "s%@@PYTHON_CMD@@%$PYTHON_CMD%" \
16 -e "s%@@PATH@@%$PATH%" \
17

  ViewVC Help
Powered by ViewVC 1.1.26