From 1415151eb665156fffffc324fc2769f90f54483b Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Mon, 25 Aug 2025 17:45:21 -0700 Subject: [PATCH] Remove git clean -fdx either 1) a source tarball is supplied, in which case the local dir is irrelevant, or 2) make-debs calls make-dist, which doesn't care about a dirty cwd so it just punishes the unaware by removing things that they may have wanted to keep. Signed-off-by: Dan Mick (cherry picked from commit ad529cce49c466daa02bb3b90804ff6a6ec548e8) --- make-debs.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/make-debs.sh b/make-debs.sh index d0a3be0e0de..7eaaccdb3dc 100755 --- a/make-debs.sh +++ b/make-debs.sh @@ -20,11 +20,6 @@ set -xe base=${1:-/tmp/release} releasedir=$base/$NAME/WORKDIR rm -fr $(dirname $releasedir) -# -# remove all files not under git so they are not -# included in the distribution. - -[ -e .git ] && git clean -dxf # git describe provides a version that is # a) human readable -- 2.39.5