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 "**^_^**"

 

posted @ 2017-11-27 12:11  木心的木偶  阅读(320)  评论(0编辑  收藏  举报