gnuradio 打包脚本
#!/bin/sh echo "cd build" cd build echo "rm -rf **" rm -rf ** echo "cmake ../" cmake ../ echo "make" make echo "sudo make intall" sudo make install echo "ldconfig" sudo ldconfig echo "cd .." cd .. echo "ls" ls echo "build finish ! ***^_^***" echo "if input char [Y/others] ,start gnuradio ,others no deal!" read -p "input is [Y/others] :" var echo "your input is : [${var}]" if [ "$var" = Y ];then gnuradio-companion echo "---->satrt gnuradio" else echo "---->no command!" fi echo "**^_^**"