summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/build b/build
index 46be68a..7709692 100755
--- a/build
+++ b/build
@@ -2,6 +2,8 @@
include ../macros.$(OPK_HOST_ARCH_KERNEL).mk
+# Derivatives should probably append their version to the ProteanOS version,
+# e.g. "1.0.0~2.0.0" (for a version 2.0 distribution based on ProteanOS 1.0).
version = $$(printf '%s\n' '$(OPK_SOURCE_VERSION)' | \
sed 's|\(^[0-9][0-9]*\.[0-9][0-9]*\).*$$|\1|')