diff --git a/add.sh b/add.sh index b05d987..5a93995 100755 --- a/add.sh +++ b/add.sh @@ -1,4 +1,4 @@ -source account.cfg +source "$BOOKMARKS_DIR/account.cfg" url="$1" tags="$2" title="$3" diff --git a/fetch.sh b/fetch.sh index 47894d7..956f97b 100755 --- a/fetch.sh +++ b/fetch.sh @@ -1,4 +1,4 @@ -source account.cfg +source "$BOOKMARKS_DIR/account.cfg" . $BOOKMARKS_DIR/log.sh "Fetch Delicious Bookmarks. User: $user" diff --git a/reco.sh b/reco.sh index cf2e7f9..e5984a6 100755 --- a/reco.sh +++ b/reco.sh @@ -1,4 +1,4 @@ -source account.cfg +source "$BOOKMARKS_DIR/account.cfg" url=$1 query=$(curl "https://$user:$passwd@api.del.icio.us/v1/posts/suggest?url=$url" -s|grep recommended) echo "$query" | sed "s/ <\w*>//g" | sed "s/<\/\w*>//g"