Skip to content

Commit 923a3ed

Browse files
committed
add -f to rm to work when there is nothing to remove
1 parent 466e67c commit 923a3ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

create-dist.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ cd ../..
3939

4040
mkdir -p build/srcdist-tmp/xmlunit-$1
4141
cp -r [A-Zstx]* build/srcdist-tmp/xmlunit-$1
42-
find build/srcdist-tmp/xmlunit-$1 -name \*~ | xargs -e rm
43-
find build/srcdist-tmp/xmlunit-$1 -name obj -o -name .git | xargs -e rm -r
42+
find build/srcdist-tmp/xmlunit-$1 -name \*~ | xargs -e rm -f
43+
find build/srcdist-tmp/xmlunit-$1 -name obj -o -name .git | xargs -e rm -rf
4444
cd build/srcdist-tmp
4545
zip -r xmlunit-$1-src.zip xmlunit-$1
4646
tar cf xmlunit-$1-src.tar xmlunit-$1

0 commit comments

Comments
 (0)