"Fossies" - the Fresh Open Source Software Archive

Member "xombrero-1.6.4/buildver.sh" (17 Feb 2015, 114 Bytes) of package /linux/www/old/xombrero-1.6.4.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/sh
    2 
    3 CURDIR=$(dirname $0)
    4 if [ -d "$CURDIR/.git" ]; then
    5     cd "$CURDIR"
    6     git describe --tags | tr -d '\n'
    7 fi