Commit 7cb2eaf1 authored by José Joaquín Atria's avatar José Joaquín Atria

Merge branch 'psibre/plugin_cpran-fix-osx-case-error' into devel

parents fbb5e577 8ac8c179
......@@ -11,6 +11,8 @@
- Text::FormatTable instead of Text::Table for search output with word wrap
- Internal GitLab API renamed to WWW::GitLab::API
- Better support for non-standard home directories
- CPrAN now prefers lowercase Praat executable on Linux and Mac
- Prompts default to "yes"
- v0.1.10:
- Praat preferences directory now derived from user HOME in all platforms
- Improved error checking
......
......@@ -439,6 +439,6 @@ L<CPrAN::Command::upgrade|upgrade>
=cut
our $VERSION = '0.2.0.02';
our $VERSION = '0.2.0.03';
1;
......@@ -56,6 +56,7 @@ sub _init {
$self->{root} = $root->stringify;
if ( -e $root ) {
$self->{root} = $root->stringify;
$self->{installed} = 1;
}
......@@ -225,9 +226,8 @@ sub test {
my $praat;
for ($^O) {
if (/darwin/) { $praat = which 'Praat' }
elsif (/MSWin32/) { $praat = which 'praatcon' }
else { $praat = which 'praat' }
if (/MSWin32/) { $praat = which('praatcon') }
else { which('praat') || which('Praat') }
}
die "Could not find path to Praat executable. Make sure Praat is available\n"
unless defined $praat;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment