bash: remove debug message from addpath
This commit is contained in:
1
bashrc
1
bashrc
@@ -11,7 +11,6 @@ addpath() {
|
|||||||
at_end=$2
|
at_end=$2
|
||||||
FOUND=$(echo $PATH | grep $wanted_path)
|
FOUND=$(echo $PATH | grep $wanted_path)
|
||||||
if [ $? -ne 0 ] ; then
|
if [ $? -ne 0 ] ; then
|
||||||
echo "Found with grep"
|
|
||||||
if [ "$at_end" == "" ] ; then
|
if [ "$at_end" == "" ] ; then
|
||||||
export PATH=$wanted_path:$PATH
|
export PATH=$wanted_path:$PATH
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user