Skip to content
Permalink
Browse files

Support WSL shells in astyle script

  • Loading branch information
nyalldawson committed Nov 11, 2018
1 parent 471ed51 commit 9b04a29116156dec48c32dd6a54aafa0ff05eaea
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 9b04a29

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