Skip to content
This repository has been archived by the owner on Aug 20, 2022. It is now read-only.

Commit

Permalink
corrected .sirfc misspelling and added SIRF_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris Thielemans committed May 5, 2017
1 parent 7c6da4b commit d212311
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions scripts/UPDATE.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ if [ -r ~/.sirfrc ]
then
source ~/.sirfrc
else
echo "I will create a ~/.sirfc file and source this from your .bashrc"
echo "source ~/.sirfc" >> ~/.bashrc
echo "I will create a ~/.sirfrc file and source this from your .bashrc"
echo "source ~/.sirfrc" >> ~/.bashrc
fi

if [ -r ~/.sirf_VM_version ]
Expand All @@ -58,8 +58,8 @@ fi
if [ -z $SIRF_SRC_PATH ]
then
export SIRF_SRC_PATH=~/devel
# overwriting .sirfc but presumably it was empty anyway
echo 'SIRF_SRC_PATH=~/devel' > ~/.sirfrc
# overwriting .sirfrc but presumably it was empty anyway
echo 'export SIRF_SRC_PATH=~/devel' > ~/.sirfrc
fi
if [ ! -d $SIRF_SRC_PATH ]
then
Expand All @@ -73,6 +73,8 @@ then
echo "export SIRF_BUILD_PATH=$SIRF_BUILD_PATH" >> ~/.sirfrc
export SIRF_INSTALL_PATH=$SIRF_SRC_PATH/build/install
echo "export SIRF_INSTALL_PATH=$SIRF_INSTALL_PATH" >> ~/.sirfrc
export SIRF_PATH=$SIRF_SRC_PATH/SIRF
echo "export SIRF_PATH=$SIRF_PATH" >> ~/.sirfrc
export LD_LIBRARY_PATH=$SIRF_INSTALL_PATH/lib:$LD_LIBRARY_PATH
echo 'export LD_LIBRARY_PATH=$SIRF_INSTALL_PATH/lib:$LD_LIBRARY_PATH' >> ~/.sirfrc
export PYTHONPATH=$SIRF_INSTALL_PATH/python
Expand Down

0 comments on commit d212311

Please sign in to comment.