Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 389097b

Browse files
committed
build: Silence clean-up phase
1 parent 366e791 commit 389097b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bin/copy-trilium.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ cp "$script_dir/../build/electron.js" "$DIR"
4343
(cd $DIR && npm install --omit=dev)
4444

4545
if [[ -d "$DIR"/node_modules ]]; then
46-
# cleanup of useless files in dependencies
46+
# cleanup of useless files in dependencies
4747
for d in 'image-q/demo' 'better-sqlite3/Release' 'better-sqlite3/deps/sqlite3.tar.gz' '@jimp/plugin-print/fonts' 'jimp/browser' 'jimp/fonts'; do
48-
[[ -e "$DIR"/node_modules/"$d" ]] && rm -rv "$DIR"/node_modules/"$d"
48+
[[ -e "$DIR"/node_modules/"$d" ]] && rm -r "$DIR"/node_modules/"$d"
4949
done
5050

51-
# delete all tests (there are often large images as test file for jimp etc.)
51+
# delete all tests (there are often large images as test file for jimp etc.)
5252
for d in 'test' 'docs' 'demo'; do
53-
find "$DIR"/node_modules -name "$d" -exec rm -rf {} \;
53+
find "$DIR"/node_modules -name "$d" -exec rm -rf {} +
5454
done
5555
fi
5656

0 commit comments

Comments
 (0)