]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - build-aux/gen-version
add preliminary pdns-builder support
[thirdparty/pdns.git] / build-aux / gen-version
index c40fc159c1e241f55f07e916c63c54bcff0e60e3..a2ff215567020ef5ef6597aa44c7c635cd093206 100755 (executable)
@@ -1,4 +1,11 @@
 #!/bin/sh
+
+if [ ! -z "$BUILDER_VERSION" ]; then
+  printf $BUILDER_VERSION
+  echo $BUILDER_VERSION > .version
+  exit 0
+fi
+
 VERSION="unknown"
 
 DIRTY=""