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

Annotation of /trunk/scripts/finley_wrapper_writer.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1756 - (hide annotations)
Mon Sep 8 01:45:46 2008 UTC (10 years, 11 months ago) by ksteube
File MIME type: application/x-sh
File size: 349 byte(s)
First version of a wrapper script that sets LD_LIBRARY_PATH and PYTHONPATH

Not yet ready for general use

1 ksteube 1756 #!/bin/sh
2    
3     # Create the finley wrapper script bin/finleypython
4     # by substituting @@VAR@@ for an env variable $VAR
5    
6     PYTHON_CMD=`type python | sed -e 's/.* //'`
7    
8     sed \
9     -e "s%@@ESCRIPT_ROOT@@%$ESCRIPT_ROOT%" \
10     -e "s%@@LD_LIBRARY_PATH@@%$LD_LIBRARY_PATH%" \
11     -e "s%@@PYTHONPATH@@%$PYTHONPATH%" \
12     -e "s%@@PYTHON_CMD@@%$PYTHON_CMD%" \
13    

  ViewVC Help
Powered by ViewVC 1.1.26