jeff1evesque / LeQue

Activate installed microphone, and analyze sound input
13 stars 2 forks source link

Correct PATH in converter_wav_text #286

Closed jeff1evesque closed 10 years ago

jeff1evesque commented 10 years ago

The following changes don't matter much, since rc.local, our apache2 file that loads our bash_loader file, is called at the end, which should mean the PATH variable should mean that our PATH variable has been well defined, and constructed. But, we proceed anyways, to get into the habit.

We need to change:

# allow 'pocketsphinx_continuous' command
PATH=$PATH://usr/local/bin/

to the following:

# Pre-Pathing: allow 'pocketsphinx_continuous' command
PATH="/usr/local/bin:$PATH"

This ensures we add our PATH variable to the beginning of the $PATH environment variable.