当前位置: 首页 > 工具软件 > awesome-shell > 使用案例 >

A shell script, in Linux.

况安然
2023-12-01

############################################################
# File: ctv_pack.sh
# Author: Wenxy, wen_kernel@163.com, 20090327,PM.
# Fix history
#
############################################################


#!/bin/sh


echo "*************************************************************"
echo "Copyright (c) wenxy.com"
echo ""
echo "Notice, input string 'quit' for exit this pack process!"
echo "*************************************************************"
echo ""
echo "Note: Pack begin."

echo ""
echo "Note: run setup.sh"
. setup.sh


echo ""
echo "Note: run Makefile"
echo "Please input make command type, [e.g. cramfspkg_config]: "
read make_cmd
    if [ "$make_cmd" = "quit" ]
    then
        echo "Caution, you input quit command."   
        return
    fi
echo "Execute make command: make $make_cmd"
make $make_cmd

echo "Note: Pack end."


# end ctv_pack.sh ############################################

 类似资料:

相关阅读

相关文章

相关问答