Skip to content

Commit ad529cc

Browse files
committed
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 <[email protected]>
1 parent 2aeeeb5 commit ad529cc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

make-debs.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ set -xe
2020
base=${1:-/tmp/release}
2121
releasedir=$base/$NAME/WORKDIR
2222
rm -fr $(dirname $releasedir)
23-
#
24-
# remove all files not under git so they are not
25-
# included in the distribution.
26-
27-
[ -e .git ] && git clean -dxf
2823

2924
# git describe provides a version that is
3025
# a) human readable

0 commit comments

Comments
 (0)