Don’t unnescesarily clean repo during static builds. (#17530)
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.
Austin S. Hemmelgarn committed
Apr 26, 2024 at 14:58 UTC
1f07deaff320f0aa01027cb7a6bff88c01906c00
1 file changed
-3
packaging/makeself/build.sh
-3
@@ -33,9 +33,6 @@ chown -R root:root /usr/src/netdata
33
34
cd /usr/src/netdata/packaging/makeself || exit 1
35
36
-git clean -dxf
37
-git submodule foreach --recursive git clean -dxf
38
-
36
cat >&2 << EOF
37
This program will create a self-extracting shell package containing
38
a statically linked netdata, able to run on any 64bit Linux system,