Merge commit '638ecc4cde79b0296f2e04f683ca4cb881c28f36' as 'rtengine/libraw'
This commit is contained in:
11
rtengine/libraw/shlib-version.sh
Executable file
11
rtengine/libraw/shlib-version.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
vfile=./libraw/libraw_version.h
|
||||
|
||||
major=`grep LIBRAW_SHLIB_CURRENT $vfile |head -1 | awk '{print $3}'`
|
||||
minor=`grep LIBRAW_SHLIB_REVISION $vfile | head -1 | awk '{print $3}'`
|
||||
patch=`grep LIBRAW_SHLIB_AGE $vfile | head -1 | awk '{print $3}'`
|
||||
|
||||
echo "$major:$minor:$patch" | awk '{printf $1}'
|
||||
|
||||
|
Reference in New Issue
Block a user