mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 16:02:23 -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
|
fi
|
||||||
|
|
||||||
TOOLS="$(cd "`dirname "$0"`"; pwd)"
|
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
|
# 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