#!/bin/zsh
-## Copyright (C) 2006, 2007 Steve Youngs
+## Copyright (C) 2006 - 2011 Steve Youngs
-## Author: Steve Youngs <steve@sxemacs.org>
-## Maintainer: Steve Youngs <steve@sxemacs.org>
+## Author: Steve Youngs <steve@steveyoungs.com>
+## Maintainer: Steve Youngs <steve@steveyoungs.com>
## Created: <2006-08-16>
## This file is part of zcdrip
{
clean
sub=@VERSION@
- rep=$(tla logs --full|tail -n1)
+ tver=v0.7
+ rep=$(git describe 2>/dev/null||echo ${tver})
zmodload -i zsh/mapfile
gcc -Wall -o zdiscid zdiscid.c
mapfile[zcdrip]=${mapfile[zcdrip.in]/$sub/$rep}