📄 packaging.script
字号:
#!/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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -