Merge commit '638ecc4cde79b0296f2e04f683ca4cb881c28f36' as 'rtengine/libraw'

This commit is contained in:
Lawrence Lee
2023-11-12 11:49:00 -08:00
213 changed files with 77043 additions and 0 deletions

16
rtengine/libraw/version.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/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