Skip to content
Permalink
Browse files

Support WSL shells in astyle script

(cherry picked from commit 9b04a29)
  • Loading branch information
nyalldawson committed Nov 11, 2018
1 parent e288bdb commit f7bba750bce06af23d5c5b2988de5328c8f43ec1
Showing with 4 additions and 0 deletions.
  1. +4 −0 scripts/astyle.sh
@@ -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() {

0 comments on commit f7bba75

Please sign in to comment.
You can’t perform that action at this time.