瀏覽代碼

HDDS-84. The root directory of ozone.tar.gz should contain the version string. Contributed by Elek, Marton.

Mukul Kumar Singh 7 年之前
父節點
當前提交
63fc5873ce
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dev-support/bin/ozone-dist-tar-stitching

+ 1 - 1
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"