mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 00:12:25 -04:00
Merge pull request #653 from evandroforks/add_missing_quotes
Add missing quotes to typecheck-setup.sh for paths with spaces on
This commit is contained in:
commit
63201d450d
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ if [[ -z "${OS+x}" ]]; then
|
|||
fi
|
||||
|
||||
TOOLS="$(cd "`dirname "$0"`"; pwd)"
|
||||
modDir=$(python -c 'import PyQt5, sys, os; sys.stdout.write(os.path.dirname(sys.modules["PyQt5"].__file__))')
|
||||
modDir="$(python -c 'import PyQt5, sys, os; sys.stdout.write(os.path.dirname(sys.modules["PyQt5"].__file__))')"
|
||||
|
||||
# fix broken stubs in pyqt5.15.0 release
|
||||
(cd $modDir && perl -i'' -pe 's/(\s*None) =/$1_ =/' *.pyi && touch py.typed)
|
||||
(cd "$modDir" && perl -i'' -pe 's/(\s*None) =/$1_ =/' *.pyi && touch py.typed)
|
||||
|
|
Loading…
Reference in a new issue