hide errors when sudo required for typecheck setup
This commit is contained in:
parent
b55e2e7dfb
commit
b5fe37d171
@ -10,4 +10,4 @@ TOOLS="$(cd "`dirname "$0"`"; pwd)"
|
||||
modDir=$(python -c 'import PyQt5, sys, os; print(os.path.dirname(sys.modules["PyQt5"].__file__))')
|
||||
cmd="rsync -a $TOOLS/stubs/PyQt5/* $modDir/"
|
||||
|
||||
$cmd || sudo $cmd
|
||||
$cmd > /dev/null 2>&1 || sudo $cmd
|
||||
|
Loading…
Reference in New Issue
Block a user