mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
Support WSL shells in astyle script
This commit is contained in:
parent
471ed51051
commit
9b04a29116
@ -71,6 +71,10 @@ if type -p cygpath >/dev/null; then
|
||||
ASTYLEOPTS="$(cygpath -w "$ASTYLEOPTS")"
|
||||
fi
|
||||
|
||||
if type -p wslpath >/dev/null; then
|
||||
ASTYLEOPTS="$(wslpath -a -w "$ASTYLEOPTS")"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
astyleit() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user