1 Star 0 Fork 12

dongfh321/libraw

forked from openKylin/libraw 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
version.sh 468 Bytes
Copy Edit Raw Blame History
LLL authored 2022-06-27 14:42 . Import Upstream version 0.19.5
#!/bin/sh
vfile=./libraw/libraw_version.h
major=`grep LIBRAW_MAJOR_VERSION $vfile |head -1 | awk '{print $3}'`
minor=`grep LIBRAW_MINOR_VERSION $vfile | head -1 | awk '{print $3}'`
patch=`grep LIBRAW_PATCH_VERSION $vfile | head -1 | awk '{print $3}'`
tail=`grep LIBRAW_VERSION_TAIL $vfile | head -1 | awk '{print $3}'`
if [ x$tail = xRelease ] ; then
echo "$major.$minor.$patch" | awk '{printf $1}'
else
echo "$major.$minor.$patch-$tail" | awk '{printf $1}'
fi
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/dongfh321/libraw.git
git@gitee.com:dongfh321/libraw.git
dongfh321
libraw
libraw
openkylin/yangtze

Search

D67c1975 1850385 1daf7b77 1850385