diff --git a/bin/export_atlas_uniprot.sh b/bin/export_atlas_uniprot.sh index 82849cd..61d2d87 100644 --- a/bin/export_atlas_uniprot.sh +++ b/bin/export_atlas_uniprot.sh @@ -17,7 +17,7 @@ command -v jq &>/dev/null || { echo "jq is not installed."; exit 1; } atlasUniqueUniprotUrl="http://${SOLR_HOST}/solr/bulk-analytics-v1/select?facet.field=keyword_uniprot&facet=on&q=*:*&rows=0&start=0&facet.limit=-1" -ATLAS_UNIPROT_EXPORT_FILE=${$ATLAS_UNIPROT_EXPORT_FILE:-atlas_uniprot_searches.tsv} +ATLAS_UNIPROT_EXPORT_FILE=${ATLAS_UNIPROT_EXPORT_FILE:-"atlas_uniprot_searches.tsv"} today=$( eval date +%F_%Hh%Mm%Ss ) datedExportFile="${ATLAS_UNIPROT_EXPORT_FILE}.${today}"