Arreglar path de auto-process.sh

This commit is contained in:
drymer 2016-09-11 14:43:59 +02:00
parent 6b3e295a2a
commit 2f23f54736
1 changed files with 2 additions and 2 deletions

View File

@ -7,12 +7,12 @@ if [[ -n $NEWALIAS ]]
then
while read -r line
do
busqueda="$(abook --datafile ~/.correo_dec/dotfiles/abook --mutt-query $(echo $line | cut -d'<' -f2 | cut -d'>' -f1 | cut -d':' -f2 | sed 's/^ //'))"
busqueda="$(abook --datafile ~/.abook --mutt-query $(echo $line | cut -d'<' -f2 | cut -d'>' -f1 | cut -d':' -f2 | sed 's/^ //'))"
# auto add sender to abook
if [[ $busqueda = "Not found" ]]
then
echo $line | abook --datafile ~/.correo_dec/dotfiles/abook --add-email-quiet > /dev/null
echo $line | abook --datafile ~/.abook --add-email-quiet > /dev/null
fi
done < <(echo "$NEWALIAS")