Skip to content

Commit

Permalink
fix dash-compatability
Browse files Browse the repository at this point in the history
  • Loading branch information
jepler committed Jul 24, 2009
1 parent 114e947 commit ecacf73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/git
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
GITVERSION=`git describe --tags`
#GITVERSION=`echo $GITVERSION | sed 's/-\([0-9]\+-g[0-9a-fA-F]\+\)/~\1/'`
# ${GITVERSION/-g/~g}
GITVERSION=${GITVERSION/v/}
GITVERSION=`echo $GITVERSION | sed 's/^v//'`
DEBVERSION=`head -1 debian/changelog | sed 's/.*(\(.*\)).*/\1/'`
if [ "$DEBVERSION" != "$GITVERSION" ]; then
dch -v $GITVERSION "make release from git (see git changelog for more information)" || exit $?
Expand Down

0 comments on commit ecacf73

Please sign in to comment.