File: version.sh

package info (click to toggle)
golang-github-bep-golibsass 1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 2,840 kB
  • sloc: cpp: 30,477; ansic: 848; sh: 662; makefile: 344; perl: 124
file content (10 lines) | stat: -rwxr-xr-x 300 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
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