Bladeren bron

更新 'coffeesystem.sh'

fatwolf 2 jaren geleden
bovenliggende
commit
c97f021a08
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 2 1
      coffeesystem.sh

+ 2 - 1
coffeesystem.sh

@@ -166,7 +166,8 @@ sudo apt-get install python-wstool -y
 echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
 echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
 source ~/.bashrc
 source ~/.bashrc
 #Create Ros Workspace
 #Create Ros Workspace
-cd /home/使用者/catkin_ws/;pwd;cd /home/使用者/catkin_ws/;pwd;source /opt/ros/melodic/setup.bash;/opt/ros/melodic/bin/catkin_make
+mkdir -p /home/使用者/catkin_ws/src
+cd /home/使用者/catkin_ws/;pwd;source /opt/ros/melodic/setup.bash;/opt/ros/melodic/bin/catkin_make
 #Setup
 #Setup
 source /home/使用者/catkin_ws/devel/setup.bash
 source /home/使用者/catkin_ws/devel/setup.bash
 echo "source ~/catkin_ws/devel/setup.bash" >> ~/.bashrc
 echo "source ~/catkin_ws/devel/setup.bash" >> ~/.bashrc