[Elphel-support] Source init_env in current working directory

Robbert rma at vmsys.com
Mon Nov 30 20:25:06 PST 2009


Hi Andrey,

 

When you go straight to your working directory and source the init_env there
(eg. “source ../../../init_env”  OR  “source symbol_link_file_of_init_env”
), the script doesn’t work properly. 

I modified the file to make it work better, hope it will help.

 

Robbert

===========================================

 

filename=`readlink -f ${BASH_SOURCE[0]}`

export AXIS_TOP_DIR=`dirname $filename`

echo "Prepending \"$AXIS_TOP_DIR/tools/build/bin\" to PATH."

export PATH="$AXIS_TOP_DIR/tools/build/bin:$PATH"

echo "Prepending \"/usr/local/cris/bin\" to PATH."

export PATH="/usr/local/cris/bin:$PATH"

export AXIS_KERNEL_DIR="$AXIS_TOP_DIR/os/linux-2.6"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://support.elphel.com/pipermail/support-list_support.elphel.com/attachments/20091201/6607c3ac/attachment-0002.html>


More information about the Support-list mailing list