Script updates

This commit is contained in:
2021-07-21 21:25:47 -04:00
parent 574c67272d
commit 7fd2c30099
4 changed files with 13 additions and 22 deletions

View File

@ -58,10 +58,6 @@ function do_dir {
for i in ProbeStar NTCNA CAMP Gits External
do
if [ -L "$i" ]; then
echo "$i: Symlinked"
echo "============="
elif [ -d "$i" ]; then
if [ "$i" == "ProbeStar" ]; then
$HOME/bin/pstar-update.sh
else
@ -74,6 +70,5 @@ do
cd ..
fi
fi
fi
done

View File

@ -1,9 +1,5 @@
#!/bin/bash
if [ ! -d $HOME/CAMP ]; then
exit 1
fi
function do_git {
echo $1 "(Git)"
cd $1

View File

@ -1,7 +1,7 @@
#!/bin/sh
# Pip
sudo -H pip3 install --upgrade pip
pip3 install --upgrade pip
# Python3
sudo -H pip3 install --upgrade pyserial numpy pyasn1 scapy virtualenv virtualenvwrapper matplotlib
pip3 install --upgrade pyserial numpy pyasn1 scapy virtualenv virtualenvwrapper matplotlib

View File

@ -21,7 +21,7 @@ fi
if [ -f /opt/ros/noetic/setup.bash ]; then
# 20.04
source /opt/ros/noetic/setup.bash
PYTHONPATH=$PYTHONPATH:$HOME/catkin_ws/devel/lib/python3/dist-packages
export PYTHONPATH=$PYTHONPATH:$HOME/catkin_ws/devel/lib/python3/dist-packages
elif [ -f /opt/ros/melodic/setup.bash ]; then
# 16.04/18.04
source /opt/ros/melodic/setup.bash