Welcome to little lamb

Code » limb » release » tree

[release] / meta / deps / skalibs / get_version

#!/bin/sh
isint=$1
intdir=$2
libdir=$3
incdir=$4

if test $isint -eq 1; then
    d="$intdir/src/include"
else
    d="$incdir"
fi

grep SKALIBS_VERSION "$d/skalibs/config.h" | cut -d\" -f2