From fc216401e51eea6150ef6df5b97776e29d30c161 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 10 Jan 2021 16:17:55 +1000 Subject: [PATCH] proper fix for __pycache__ folders preventing remove on ./run --- run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run b/run index 40888f981..1c9be0bf5 100755 --- a/run +++ b/run @@ -11,7 +11,7 @@ run_mac() { # so we need to copy the files into a working folder before running on a Mac. workspace=$(dirname $0) bazel build $BUILDARGS //qt:runanki && \ - rsync -aiL --exclude=anki/external --exclude=__pycache__ --delete --force-delete \ + rsync -aiL --exclude=anki/external --delete -f'-p __pycache__' \ $workspace/bazel-bin/qt/runanki* $workspace/bazel-copy/ && \ $workspace/bazel-copy/runanki $* }