aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-01-02 16:48:42 +0000
committerRoy Marples <roy@marples.name>2009-01-02 16:48:42 +0000
commit213cef1739298175138483a343a70bb60f0100fe (patch)
treeaad583dcd1925bae352b60d2f64fba1f079cb141
parent386ee57432afc6228c5339030e604f03ab2065e6 (diff)
Fix version for releases.
-rw-r--r--src/rc/Makefile6
1 files changed, 5 insertions, 1 deletions
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