mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
proper fix for __pycache__ folders preventing remove on ./run
This commit is contained in:
parent
9bc8434538
commit
fc216401e5
1 changed files with 1 additions and 1 deletions
2
run
2
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 $*
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue