2
0
Fork 0
mirror of https://github.com/alexanderepstein/Bash-Snippets synced 2018-11-08 02:59:35 +01:00

Get rid of the debugging the echo

This commit is contained in:
Alex Epstein 2017-08-01 10:50:33 -04:00
parent d80e8eca6d
commit b8101c080f

View file

@ -75,7 +75,6 @@ response=$( echo "$@" | grep -Eo "\-\-prefix")
if [[ $response == "--prefix" ]]; then
prefix=$(echo -n "$@" | sed -e 's/--prefix=\(.*\) .*/\1/' | cut -d " " -f 1)
echo $prefix
mkdir -p $prefix/bin $prefix/share/man/man1
if [[ $2 == "all" ]];then
for tool in "${tools[@]}"; do