From 63fc5873cee41b883e988ead00fc6f6cf74fae97 Mon Sep 17 00:00:00 2001 From: Mukul Kumar Singh Date: Wed, 23 May 2018 21:07:37 +0530 Subject: [PATCH] HDDS-84. The root directory of ozone.tar.gz should contain the version string. Contributed by Elek, Marton. --- dev-support/bin/ozone-dist-tar-stitching | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-support/bin/ozone-dist-tar-stitching b/dev-support/bin/ozone-dist-tar-stitching index decfa2397b..d1116e4fe1 100755 --- a/dev-support/bin/ozone-dist-tar-stitching +++ b/dev-support/bin/ozone-dist-tar-stitching @@ -41,7 +41,7 @@ function run() #To include the version name in the root directory of the tar file # we create a symbolic link and dereference it during the tar creation ln -s -f ozone ozone-${VERSION} -run tar -c --dereference -f "ozone-${VERSION}.tar" "ozone" +run tar -c --dereference -f "ozone-${VERSION}.tar" "ozone-${VERSION}" run gzip -f "ozone-${VERSION}.tar" echo echo "Ozone dist tar available at: ${BASEDIR}/ozone-${VERSION}.tar.gz"