From 213cef1739298175138483a343a70bb60f0100fe Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 2 Jan 2009 16:48:42 +0000 Subject: Fix version for releases. --- src/rc/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/rc/Makefile b/src/rc/Makefile index f7f5ff55..6438fd5a 100644 --- a/src/rc/Makefile +++ b/src/rc/Makefile @@ -44,7 +44,11 @@ LDADD+= ${LIBDL} ${LIBKVM} include ${MK}/${MKPAM}.mk _SVNVER_SH= if type svnversion >/dev/null 2>&1; then \ - echo "-svn-$$(svnversion)"; \ + svnver="$$(svnversion)"; \ + case "$$svnver" in \ + exported) echo "";; \ + *) echo "-svn-$$svnver";; \ + esac; \ else \ echo ""; \ fi -- cgit v1.2.3