Skip to content

Commit

Permalink
fix: copy of csv exports to amazon s3 (#10981)
Browse files Browse the repository at this point in the history
small fixes
  • Loading branch information
stephanegigandet authored Nov 12, 2024
1 parent 160d64d commit 4a0cc22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/gen_feeds_daily.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ cd $OFF_SCRIPTS_DIR

# off-pro flavor: we don't generate most exports
# but we have some special processing
if [ "$PRODUCT_OPENER_FLAVOR" == "off-pro" ]; then
if [ "$PRODUCT_OPENER_FLAVOR_SHORT" == "off-pro" ]; then
echo "Generating feeds for off-pro flavor"
./save_org_product_data_daily_off_pro.pl
echo "Skipping exports for off-pro flavor"
Expand Down Expand Up @@ -61,7 +61,7 @@ mc cp \
fr.$PRODUCT_OPENER_DOMAIN.products.csv \
fr.$PRODUCT_OPENER_DOMAIN.products.csv.gz \
fr.$PRODUCT_OPENER_DOMAIN.products.rdf \
s3/openfoodfacts-ds
s3/$PRODUCT_OPENER_FLAVOR-ds

# Generate the MongoDB dumps and jsonl export
cd $OFF_SCRIPTS_DIR
Expand Down

0 comments on commit 4a0cc22

Please sign in to comment.