diff --git a/README.md b/README.md
index 8f32bd0..7cb2ea4 100644
--- a/README.md
+++ b/README.md
@@ -307,7 +307,7 @@ There is an AUR package for bash-snippets located [here](https://aur.archlinux.o
* Then cd into the cloned directory: ```cd Bash-Snippets```
-* Git checkout to the latest stable release ```git checkout v1.17.0```
+* Git checkout to the latest stable release ```git checkout v1.17.1```
* Run the guided install script with
```bash
diff --git a/changelog.md b/changelog.md
index 3bbe8e5..387e0da 100644
--- a/changelog.md
+++ b/changelog.md
@@ -2,6 +2,15 @@
# Bash-Snippets Changelog
+## Version 1.17.1
+
+
+
+### Bugfixes
+* Fixing grabbing the prefix in homebrew install
+
+
+
## Version 1.17.0
diff --git a/cheat/cheat b/cheat/cheat
index a1a9bbe..2d8a962 100755
--- a/cheat/cheat
+++ b/cheat/cheat
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Author: Alexander Epstein https://github.com/alexanderepstein
-currentVersion="1.17.0"
+currentVersion="1.17.1"
configuredClient=""
## rest of these variables are search flags
search="0"
diff --git a/cloudup/cloudup b/cloudup/cloudup
index c2e9271..2ac9abe 100755
--- a/cloudup/cloudup
+++ b/cloudup/cloudup
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Author: Alexander Epstein https://github.com/alexanderepstein
-currentVersion="1.17.0"
+currentVersion="1.17.1"
configuredClient=""
private="0" ## state of private flag
all="0" ## state of all flag
diff --git a/crypt/crypt b/crypt/crypt
index fed7ddd..0c5c249 100755
--- a/crypt/crypt
+++ b/crypt/crypt
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Author: Alexander Epstein https://github.com/alexanderepstein
-currentVersion="1.17.0"
+currentVersion="1.17.1"
state=""
configuredClient=""
diff --git a/cryptocurrency/cryptocurrency b/cryptocurrency/cryptocurrency
index 67b387a..dad456a 100755
--- a/cryptocurrency/cryptocurrency
+++ b/cryptocurrency/cryptocurrency
@@ -3,7 +3,7 @@
base=""
exchangeTo=""
-currentVersion="1.17.0"
+currentVersion="1.17.1"
configuredClient=""
## This function determines which http get tool the system has installed and returns an error if there isnt one
diff --git a/currency/currency b/currency/currency
index a5d45b9..7306997 100755
--- a/currency/currency
+++ b/currency/currency
@@ -3,7 +3,7 @@
base=""
exchangeTo=""
-currentVersion="1.17.0"
+currentVersion="1.17.1"
configuredClient=""
currencyCodes=(AUD BGN BRL CAD CHF CNY CZK DKK
EUR GBP HKD HRK HUF IDR ILS INR
diff --git a/extras/Linux/maps/maps b/extras/Linux/maps/maps
index 4bab179..8592e45 100755
--- a/extras/Linux/maps/maps
+++ b/extras/Linux/maps/maps
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Author: Alexander Epstein https://github.com/alexanderepstein
-currentVersion="1.17.0"
+currentVersion="1.17.1"
configuredClient=""
directionsFlag="0"
directionsMapFlag="0"
diff --git a/geo/geo b/geo/geo
index e24a483..5de4c21 100755
--- a/geo/geo
+++ b/geo/geo
@@ -4,7 +4,7 @@
# Author: Jake Meyer
# Github: https://github.com/jakewmeyer
-currentVersion="1.17.0"
+currentVersion="1.17.1"
configuredClient=""
## This function determines which http get tool the system has installed and returns an error if there isnt one
diff --git a/install.sh b/install.sh
index 93e122e..7c59744 100755
--- a/install.sh
+++ b/install.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# Author: Alexander Epstein https://github.com/alexanderepstein
-currentVersion="1.17.0"
+currentVersion="1.17.1"
declare -a tools=(cheat cloudup crypt cryptocurrency currency geo movies newton qrify short siteciphers stocks taste todo weather ytview)
declare -a extraLinuxTools=(maps)
declare -a extraDarwinTools
@@ -74,7 +74,8 @@ copyManpage()
response=$( echo "$@" | grep -Eo "\-\-prefix")
if [[ $response == "--prefix" ]]; then
- prefix=$(echo -n "$@" | sed -e 's/--prefix=\(.*\) .*/\1/' | grep -Eo "^[a-z/A-Z=]*")
+ prefix=$(echo -n "$@" | sed -e 's/--prefix=\(.*\) .*/\1/' | grep -Eo "^[a-z/A-Z= -- .0-9]*")
+ echo $prefix
mkdir -p $prefix/bin $prefix/share/man/man1
if [[ $2 == "all" ]];then
for tool in "${tools[@]}"; do
diff --git a/movies/movies b/movies/movies
index ba2f7d7..6ece651 100755
--- a/movies/movies
+++ b/movies/movies
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Author: Alexander Epstein https://github.com/alexanderepstein
-currentVersion="1.17.0"
+currentVersion="1.17.1"
configuredClient=""
configuredPython=""
detail=false
diff --git a/newton/newton b/newton/newton
index a7164b6..a263e47 100755
--- a/newton/newton
+++ b/newton/newton
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Author: Alexander Epstein https://github.com/alexanderepstein
-currentVersion="1.17.0"
+currentVersion="1.17.1"
configuredClient=""
flagCount="0"
declare -a simpleOperations=(simplify factor derive integrate zeroes roots tangent area cos sin tan arccos arcsin arctan abs log)
diff --git a/qrify/qrify b/qrify/qrify
index 83a60b2..3e5b4a3 100755
--- a/qrify/qrify
+++ b/qrify/qrify
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Author: Linyos Torovoltos github.com/linyostorovovoltos
-currentVersion="1.17.0"
+currentVersion="1.17.1"
multiline="0" # flag that indicates multiline option
diff --git a/short/short b/short/short
index 591de13..2c276ed 100755
--- a/short/short
+++ b/short/short
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Author: Alexander Epstein https://github.com/alexanderepstein
-currentVersion="1.17.0"
+currentVersion="1.17.1"
configuredClient=""
configuredPython=""
diff --git a/siteciphers/siteciphers b/siteciphers/siteciphers
index bddab99..da91915 100755
--- a/siteciphers/siteciphers
+++ b/siteciphers/siteciphers
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
DELAY=1
configuredClient=""
-currentVersion="1.17.0"
+currentVersion="1.17.1"
checkOpenSSL()
{
diff --git a/stocks/stocks b/stocks/stocks
index 9d5cba6..05dc89d 100755
--- a/stocks/stocks
+++ b/stocks/stocks
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Author: Alexander Epstein https://github.com/alexanderepstein
-currentVersion="1.17.0"
+currentVersion="1.17.1"
configuredClient=""
configuredPython=""
diff --git a/taste/taste b/taste/taste
index 212db99..c3bef32 100755
--- a/taste/taste
+++ b/taste/taste
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Author: Alexander Epstein https://github.com/alexanderepstein
-currentVersion="1.17.0"
+currentVersion="1.17.1"
configuredClient=""
configuredPython=""
source ~/.bash_profile 2> /dev/null ## allows grabbing enviornment variable
diff --git a/todo/todo b/todo/todo
index f2721de..cd1478a 100755
--- a/todo/todo
+++ b/todo/todo
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Author: Alexander Epstein https://github.com/alexanderepstein
flag=""
-currentVersion="1.17.0"
+currentVersion="1.17.1"
configuredClient=""
## This function determines which http get tool the system has installed and returns an error if there isnt one
diff --git a/weather/weather b/weather/weather
index 0f9b526..6807823 100755
--- a/weather/weather
+++ b/weather/weather
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Author: Alexander Epstein https://github.com/alexanderepstein
-currentVersion="1.17.0" #This version variable should not have a v but should contain all other characters ex Github release tag is v1.2.4 currentVersion is 1.2.4
+currentVersion="1.17.1" #This version variable should not have a v but should contain all other characters ex Github release tag is v1.2.4 currentVersion is 1.2.4
LANG="${LANG:-en}"
locale=$(echo $LANG | cut -c1-2)
configuredClient=""
diff --git a/ytview/ytview b/ytview/ytview
index 3e62f74..6390bdf 100755
--- a/ytview/ytview
+++ b/ytview/ytview
@@ -6,7 +6,7 @@ if [[ -d $HOME/.cache/ytview ]]; then rm -rf $HOME/.cache/ytview/; fi
player=""
configuredClient=""
-currentVersion="1.17.0"
+currentVersion="1.17.1"
flag=""
## This function determines which http get tool the system has installed and returns an error if there isnt one