Mercurial > ~mikael > mcabber > hg
view mcabber/hgcset.sh @ 2245:bcb7bfa1cd09
Upgrade GPLv2
Since the GPLv2 has been included into mcabber, few changes have been
made to the license itself.
- Small improvements in centering some text
- The FSF has changed mail address
- The references to the GNU Library GPL license has been changed to GNU
Lesser GPL license, since the former has been deprecated
author | Fabio Alessandro Locati <fabiolocati@gmail.com> |
---|---|
date | Thu, 04 Feb 2016 18:43:57 +0100 |
parents | e8f2db654e67 |
children |
line wrap: on
line source
#! /bin/sh srcdir="$1" builddir="$2" if [ ! -f "$srcdir/logprint.h" ]; then echo "Unable to find mcabber sources!" >&2 exit 1 fi cd "$srcdir" if which hg > /dev/null 2>&1; then cs=$(hg id 2> /dev/null | cut -d' ' -f1) if test $? -eq 0; then if [ x"$cs" != x ]; then grep -q "$cs" "$builddir/hgcset.h" > /dev/null 2>&1 || \ echo "#define HGCSET \"$cs\"" > "$builddir/hgcset.h" exit 0 fi fi fi echo > "$builddir/hgcset.h"