@ -18,11 +18,10 @@ set -ueo pipefail
# FIXME: adding tags doesn't work
SCRIPT_DIR=$(dirname $(readlink "$0"))
CURRENT_DIR=$(dirname "$PWD")
SCRIPT_NAME=$(basename "$0")
DB_FILE="${CURRENT_DIR}/tags.db"
DB_FILE="${PWD}/tags.db"
[ "$1" = "--db" ] && DB_FILE="$2" && shift 2