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

📄 .release.sh

📁 linux subdivision ying gai ke yi le ba
💻 SH
字号:
#!/bin/shset -exmajor=`echo $1 | awk -F. '{print $1;}'`minor=`echo $1 | awk -F. '{print $2;}'`rel=`echo $1 | awk -F. '{print $3;}'`version=$1# check that release version matches build version!grep ^NEON_VERSION_MAJOR=$major\$ macros/neon.m4 || exit 1grep ^NEON_VERSION_MINOR=$minor\$ macros/neon.m4 || exit 1grep ^NEON_VERSION_RELEASE=$rel\$ macros/neon.m4 || exit 1grep '^NEON_VERSION_TAG=$' macros/neon.m4 || exit 1for f in config.hw; doin=$f.inout=$fsed -e "s/@VERSION@/$version/g" \    -e "s/@MAJOR@/$major/g" \    -e "s/@MINOR@/$minor/g" \    -e "s/@RELEASE@/$release/g" < $in > $outdoneecho $1 > .version# for the documentation:date +"%e %B %Y" | tr -d '\n' > doc/date.xmlecho -n $1 > doc/version.xml# Try to create a valid Makefiletmp=`mktemp /tmp/neon-XXXXXX`sed -e "s/@SET_MAKE@//g" -e "s|@SHELL@|/bin/sh|g" < Makefile.in > $tmpmake -f $tmp docsrm -f $tmp

⌨️ 快捷键说明

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