permit multiline comments and strings in macros
[bpt/coccinelle.git] / env.sh
diff --git a/env.sh b/env.sh
index 3413607..05273a6 100644 (file)
--- a/env.sh
+++ b/env.sh
@@ -1,5 +1,5 @@
 # I put both stuff useful for the user and developer in this file. Could
-# separate and have a env-user.sh, env-compile.sh, env-developer.sh, 
+# separate and have a env-user.sh, env-compile.sh, env-developer.sh,
 # but it's not worth it.
 
 #!!!!You need to source me with "source env.sh" from the good directory!!!!
@@ -19,7 +19,7 @@ then
 fi
 
 if [ ! -r $DIR/standard.iso ]
-    then echo "standard.iso not found in '$DIR'. 
+    then echo "standard.iso not found in '$DIR'.
   Give the coccinelle directory as the first argument.
 ";
 else
@@ -44,7 +44,9 @@ LD_LIBRARY_PATH=$COCCINELLE_HOME:$LD_LIBRARY_PATH ; export LD_LIBRARY_PATH
 
 # To find .py files like the one in python/coccib
 echo adding $COCCINELLE_HOME/python to PYTHONPATH
-PYTHONPATH=$COCCINELLE_HOME/python:PYTHONPATH  ; export PYTHONPATH
+PYTHONPATH=$COCCINELLE_HOME/python:$PYTHONPATH ; export PYTHONPATH
 
 fi
 
+export PATH=$COCCINELLE_HOME:$PATH
+