1 Star 0 Fork 0

lycium_pkg_mirror/libcoap

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
get_config.sh 671 Bytes
一键复制 编辑 原始数据 按行查看 历史
slokhorst 提交于 2024-01-04 00:32 +08:00 . Use grep -E instead of deprecated egrep
#/bin/bash
#
# This is a helper script to get what the current build configuration is
#
TAGS=0
if [ -f config.log ] ; then
echo "Last ./configure build"
echo ""
cat config.log | grep -E " libcoap| host s" | cut -d\ -f7-
cat config.log | grep -E "result: " | cut -d\ -f3- | cut -d\ -f7-
echo ""
TAGS=1
fi
for f in `find . -name CMakeCache.txt -print` ; do
DIR=`dirname $f`
echo "Last cmake build in $DIR"
echo ""
(cd $DIR ; cmake -LH . | cut -d\ -f2- | grep -E "\.\." | grep -E "^[A-Z][A-Z]")
echo ""
TAGS=1
done
if [ "$TAGS" = 0 ] ; then
echo "Current git source"
echo ""
git describe --tags --dirty --always
echo ""
fi
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lycium_pkg_mirror/libcoap.git
git@gitee.com:lycium_pkg_mirror/libcoap.git
lycium_pkg_mirror
libcoap
libcoap
develop

搜索帮助