⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 compile

📁 daemontools-0.76.tar.gz是在linux环境下自动监控进程的源程序
💻
字号:
#!/bin/sh -eumask 022test -d package || ( echo 'Wrong working directory.'; exit 1 )test -d src || ( echo 'Wrong working directory.'; exit 1 )here=`env - PATH=$PATH pwd`mkdir -p compile commandtest -r compile/home || echo $here > compile/hometest -h compile/src || ln -s $here/src compile/srcecho 'Linking ./src/* into ./compile...'for i in `ls src`do  test -h compile/$i || ln -s src/$i compile/$idoneecho 'Compiling everything in ./compile...'( cd compile; exec make )echo 'Copying commands into ./command...'for i in `cat package/commands`do  rm -f command/$i'{new}'  cp -p compile/$i command/$i'{new}'  mv -f command/$i'{new}' command/$idone

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -