Skip to content

Commit

Permalink
fix copy build git from Downloads
Browse files Browse the repository at this point in the history
- need remove & mkdir
- must copy /*; this will avoid .git files
  • Loading branch information
ilg-ul committed Sep 3, 2017
1 parent 0448fec commit aa7f690
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,9 @@ then

# If the folder is already present in Downloads, copy it.
echo "Copying ${PROJECT_GIT_FOLDER_NAME} from Downloads..."
cp -r "${PROJECT_GIT_DOWNLOADS_FOLDER_PATH}" "${PROJECT_GIT_FOLDER_PATH}"
rm -rf "${PROJECT_GIT_FOLDER_PATH}"
mkdir -p "${PROJECT_GIT_FOLDER_PATH}"
cp -R "${PROJECT_GIT_DOWNLOADS_FOLDER_PATH}"/* "${PROJECT_GIT_FOLDER_PATH}"

else

Expand Down

0 comments on commit aa7f690

Please sign in to comment.