Skip to content

Commit

Permalink
Don’t unnescesarily clean repo during static builds. (#17530)
Browse files Browse the repository at this point in the history
Don’t clean repo during static builds.

We’re using a separate build directory in all cases, so there is no
longer any need to try to clean the repository before a static build.
This enables running static builds in linked git worktrees.
  • Loading branch information
Ferroin committed Apr 26, 2024
1 parent 700efa5 commit 1f07dea
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packaging/makeself/build.sh
Expand Up @@ -33,9 +33,6 @@ chown -R root:root /usr/src/netdata

cd /usr/src/netdata/packaging/makeself || exit 1

git clean -dxf
git submodule foreach --recursive git clean -dxf

cat >&2 << EOF
This program will create a self-extracting shell package containing
a statically linked netdata, able to run on any 64bit Linux system,
Expand Down

0 comments on commit 1f07dea

Please sign in to comment.