Skip to content

Commit

Permalink
Fix pattern matching for osx.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jule- committed Nov 8, 2018
1 parent b04abb8 commit 6d083ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/plugin-add.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ PLUGIN=$4
FOLDER=".build-$PLATFORM"
cd $FOLDER

CORDOVA_MAJOR_VERSION=`expr "$CORDOVA_VERSION" : '\\~\?\\^\?\([[:digit:]]\+\)'`
CORDOVA_MAJOR_VERSION=`echo "$CORDOVA_VERSION" | sed -E "s/\~?\^?([[:digit:]]).*/\1/"`

if [[ "$CORDOVA_MAJOR_VERSION" == "6" ]]; then
FETCH_COMMAND="--fetch"
Expand Down

0 comments on commit 6d083ed

Please sign in to comment.