packaging.script
来自「共享Unix的资源(磁盘或打印机等)给Windows使用的程序」· SCRIPT 代码 · 共 31 行
SCRIPT
31 行
#!/bin/sh# Pass the Samba distribution base directory to the packaging script#if [ $# = 0 ]then echo "Usage: $0 BASE_DIRECTORY\n" exit 1fi#if [ ! -d $1 ]; then echo "Source build directory $1 does not exist." exit 1fi# Set up the prototype file from the static_prototypeif [ -f prototype ]; then rm prototypeficp static_prototype prototype# Add the dynamic part to the prototype file./dyngen_prototype.sh $1 >> prototype# Create the packagepkgmk -o -d /tmp -b $1 -f prototypeif [ $? = 0 ]then pkgtrans /tmp samba.pkg sambafiecho The samba package is in /tmp
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?