Skip to content

Commit

Permalink
fix path in copy script
Browse files Browse the repository at this point in the history
  • Loading branch information
rpodcast committed Apr 2, 2024
1 parent f701255 commit b65a31b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/scripts/copy-ectd-bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ function l { # Log a message to the terminal.
ECTD_BUNDLE_DIR=./submissions-pilot4-webR/ectd_bundle
ECTD_BUNDLE_FILE=r4app.zip

if [ -f "$ECTD_BUNDLE_FILE" ]; then
echo "Copying ${ECTD_BUNDLE_FILE}"
if [ -f "${ECTD_BUNDLE_DIR}/${ECTD_BUNDLE_FILE}" ]; then
echo "Copying ${ECTD_BUNDLE_DIR}/${ECTD_BUNDLE_FILE}"
if [ -f "$DESTINATION_DIR" ]; then
echo "Create new directory ${DESTINATION_DIR}"
mkdir -p "${DESTINATION_DIR}"
fi
cp "${ECTD_BUNDLE_DIR}/${ECTD_BUNDLE_FILE}" "${DESTINATION_DIR}/${ECTD_BUNDLE_FILE}"
Expand Down

0 comments on commit b65a31b

Please sign in to comment.