Supressing error when sourcing ~/.bash_profile

This commit is contained in:
Alex Epstein 2017-07-14 13:37:35 -04:00
parent 29ab12cd0e
commit c42c66c439
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ configuredClient=""
directionsFlag="0"
directionsMapFlag="0"
staticMapFlag="0"
source ~/.bash_profile ## allows grabbing enviornment variable
source ~/.bash_profile 2> /dev/null ## allows grabbing enviornment variable
MAPQUEST_API_KEY=$MAPQUEST_API_KEY
if [ -d ~/temp ];then rm -rf ~/temp;fi
## This function determines which http get tool the system has installed and returns an error if there isnt one

View File

@ -4,7 +4,7 @@
currentVersion="1.11.1"
configuredClient=""
configuredPython=""
source ~/.bash_profile ## allows grabbing enviornment variable
source ~/.bash_profile 2> /dev/null ## allows grabbing enviornment variable
apiKey=$TASTE_API_KEY
info="0" ## indicates if we want extra info
search="0" ## indivates that we want results on the item itself