Skip to content

Commit 99987c4

Browse files
authored
Merge pull request #1776 from cmu-delphi/ndefries/backfill/output-dir-spec
[Backfill corrections] Publish files in _export_ dir
2 parents 301fe2f + 4fed7bc commit 99987c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backfill_corrections/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ run:
8181
/bin/bash -c "cp params.host.json params.json && make gurobi.lic && make standardize-dirs && make run-local OPTIONS=\"${OPTIONS}\""
8282

8383
publish:
84-
if [ -f $(USR_INPUT_DIR)/*.csv.gz ]; then \
84+
if [ -f $(USR_EXPORT_DIR)/*.csv.gz ]; then \
8585
aws configure set aws_access_key_id $(AWS_KEY_ID); \
8686
aws configure set aws_secret_access_key $(AWS_SECRET_KEY); \
87-
aws s3 cp $(USR_INPUT_DIR) $(S3_BUCKET)/ --recursive --exclude "*" --include "*.csv.gz" --acl public-read; \
87+
aws s3 cp $(USR_EXPORT_DIR) $(S3_BUCKET)/ --recursive --exclude "*" --include "*.csv.gz" --acl public-read; \
8888
echo "SUCCESS: published `ls -1 $(USR_EXPORT_DIR)/*.csv.gz | wc -l` files to the S3 bucket" >> $(LOG_FILE); \
8989
else \
9090
echo "No files in $(USR_EXPORT_DIR) to publish" >> $(LOG_FILE); \

0 commit comments

Comments
 (0)