string comparison needed for that if statement.
@@ -45,7 +45,7 @@ if [[ "$1" == '-sm' ]] ; then
build_mimic='n'
fi
-if [[ $1 -ne '-sm' ]] && hash mimic ; then
+if [[ "$1" != '-sm' ]] && hash mimic ; then
if mimic -lv | grep -q Voice ; then
echo "Existing mimic installation. press y to build mimic again, any other key to skip."
read -n1 build_mimic
@@ -53,7 +53,6 @@ if [[ $1 -ne '-sm' ]] && hash mimic ; then
fi
-
# create virtualenv, consistent with virtualenv-wrapper conventions
if [ ! -d "${VIRTUALENV_ROOT}" ]; then
mkdir -p $(dirname "${VIRTUALENV_ROOT}")
