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

Diff of /trunk/scripts/finley_wrapper_writer.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1756 by ksteube, Mon Sep 8 01:45:46 2008 UTC revision 2291 by jfenwick, Fri Feb 27 01:53:06 2009 UTC
# Line 3  Line 3 
3  # Create the finley wrapper script bin/finleypython  # Create the finley wrapper script bin/finleypython
4  # by substituting @@VAR@@ for an env variable $VAR  # 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/.* //'`  PYTHON_CMD=`type python | sed -e 's/.* //'`
10    
11  sed                         \  sed                         \
# Line 10  sed                            \ Line 13  sed                            \
13    -e "s%@@LD_LIBRARY_PATH@@%$LD_LIBRARY_PATH%"      \    -e "s%@@LD_LIBRARY_PATH@@%$LD_LIBRARY_PATH%"      \
14    -e "s%@@PYTHONPATH@@%$PYTHONPATH%"            \    -e "s%@@PYTHONPATH@@%$PYTHONPATH%"            \
15    -e "s%@@PYTHON_CMD@@%$PYTHON_CMD%"            \    -e "s%@@PYTHON_CMD@@%$PYTHON_CMD%"            \
16      -e "s%@@PATH@@%$PATH%"                \
17    

Legend:
Removed from v.1756  
changed lines
  Added in v.2291

  ViewVC Help
Powered by ViewVC 1.1.26