Skip to content

Commit

Permalink
Fix SHORTVERSION creation in mecab install script.
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleigh committed Jan 15, 2018
1 parent 9601844 commit 0742369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install_mecab_php-mecab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ OUTPUT=$(php --version)

LONGVERSION=$(echo $OUTPUT | cut -d ' ' -f2 | cut -d '-' -f1)

SHORTVERSION=${LONGVERSION%??}
SHORTVERSION=${LONGVERSION%.*}

echo $SHORTVERSION

Expand Down

0 comments on commit 0742369

Please sign in to comment.