?? mkpackage
字號(hào):
#! /bin/sh#this bash used to collect the files which needed when run## Created By Xu Yuan <xychn15@yahoo.com.cn> @2005-9-20playerDir="SEU-3D"#-------------------------------------------------------------------------------------- printf '\33[7;31m'echo "make package SEU-3D..." printf '\33[0m'{ test ! -d $playerDir || { find $playerDir -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr $playerDir; }; }mkdir $playerDirmkdir $playerDir/logsif `test -f 'src/seu-3d-player' `; \then cp -f src/seu-3d-player $playerDir; \else rm -fr $playerDir; echo 'can not find src/.libs/seu-3d-player'; exit 1; \fiif `test -f 'src/formations.conf' `; \then cp -f src/formations.conf $playerDir; \else rm -fr $playerDir; echo 'can not find src/formations.conf'; exit 1; \fiif `test -f 'src/README-PLAYER' `; \then cp -f src/README-PLAYER $playerDir/README; \else rm -fr $playerDir; echo 'can not find src/README-PLAYER'; exit 1; \fitar chof - $playerDir | GZIP=--best gzip -c >$playerDir.tar.gz{ test ! -d $playerDir || { find $playerDir -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr $playerDir; }; }#------------------------------------------------------------------------------------------------------echo '====================================' printf '\33[7;31m'echo $playerDir 'are ready!' printf '\33[0m\a'echo '===================================='
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -