make 238 B

1234567891011121314
  1. install=""
  2. if [ ${1} ]
  3. then
  4. if [ ${1} = "install" ]
  5. then
  6. install="install"
  7. else
  8. echo "参数输入[install]"
  9. exit 0
  10. fi
  11. fi
  12. cd ~/ros_ws/
  13. catkin_make -DCATKIN_WHITELIST_PACKAGES=laser_odom ${install}