Skip to content

Commit

Permalink
Update var name
Browse files Browse the repository at this point in the history
  • Loading branch information
estevao90 committed Dec 17, 2024
1 parent 0804865 commit 750b94d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions commands/cp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ if [ -z "$FILE" ]; then
exit 1
fi

if [ -z "$TARGET" ]; then
echo "FILE is not set. Quitting."
if [ -z "$DESTINATION" ]; then
echo "Destination is not set. Quitting."
exit 1
fi

the_command="aws ${S3_PROFILE} ${ENDPOINT_APPEND} s3 cp s3://${S3_BUCKET}/${FILE} ${TARGET}"
the_command="aws ${S3_PROFILE} ${ENDPOINT_APPEND} s3 cp s3://${S3_BUCKET}/${FILE} ${DESTINATION}"

echo $the_command

Expand Down

0 comments on commit 750b94d

Please sign in to comment.