Skip to content

Commit

Permalink
probably fixed handling given base directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Guite committed Apr 18, 2020
1 parent e70355e commit 7c442be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ echo "Install ${APP_NAME}"
unzip -q "${WORKSPACE_ROOT}${APP_NAME}.zip"
if [ "$BASE_DIR" != "" ]; then
cd "$BASE_DIR"
cp -R "${EXTENSION_FOLDER}" "${WORKSPACE_ROOT}${CORE_DIRECTORY}/${SRC_DIR}"
cd "${WORKSPACE_ROOT}${CORE_DIRECTORY}/${SRC_DIR}"
cp -R "${EXTENSION_FOLDER}" "${WORKSPACE_ROOT}work/${CORE_DIRECTORY}/${SRC_DIR}"
cd "${WORKSPACE_ROOT}work/${CORE_DIRECTORY}/${SRC_DIR}"
rm -rf "$BASE_DIR"
fi
if [ "$SRC_DIR" != "" ]; then
Expand Down

0 comments on commit 7c442be

Please sign in to comment.