Files
wangxiaowei 5d7b75a14e first commit
2025-12-09 13:35:21 +08:00

11 lines
300 B
Bash

if test "x$LIBSASS_VERSION" = "x"; then
LIBSASS_VERSION=`git describe --abbrev=4 --dirty --always --tags 2>/dev/null`
fi
if test "x$LIBSASS_VERSION" = "x"; then
LIBSASS_VERSION=`cat VERSION 2>/dev/null`
fi
if test "x$LIBSASS_VERSION" = "x"; then
LIBSASS_VERSION="[na]"
fi
echo $LIBSASS_VERSION