This is an automated email from the ASF dual-hosted git repository. astefanutti pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/main by this push: new 9c14233 fix(#2514): Fix tar.gz changes the uid/gid of cwd 9c14233 is described below commit 9c1423318dbddb77979434b562baebfa2ff8ced0 Author: Christoph Deppisch <cdeppi...@redhat.com> AuthorDate: Mon Jul 19 21:52:16 2021 +0200 fix(#2514): Fix tar.gz changes the uid/gid of cwd Do not include "." in the tarball in order to avoid changing the current working directory when installing the tar.gz --- script/cross_compile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/cross_compile.sh b/script/cross_compile.sh index d201ab7..8c239b8 100755 --- a/script/cross_compile.sh +++ b/script/cross_compile.sh @@ -53,7 +53,7 @@ cross_compile () { cp ${location}/../LICENSE ${targetdir}/ cp ${location}/../NOTICE ${targetdir}/ - pushd . && cd ${targetdir} && tar -zcvf ../../${label}.tar.gz . && popd + pushd . && cd ${targetdir} && tar -zcvf ../../${label}.tar.gz $(ls -A) && popd } cross_compile ${basename}-${version}-linux-64bit linux amd64