Skip to content

Commit

Permalink
Fix review stats copy
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Dec 12, 2023
1 parent 54cb2e8 commit 01bc291
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Empty file modified make_help_scripts/add_review_stats
100644 → 100755
Empty file.
7 changes: 4 additions & 3 deletions make_help_scripts/deploy_defines
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ build_dir="_build"

# reviewer stats
reviewer_stats_filename="reviewers_stats_with_graph.html"
reviewer_stats_cache_folder="~/reviews"
reviewer_stats_cache_folder="reviews"
reviewer_stats_target_folder="./doc/acknowledgements"

add_reviewer_stats_file () {
if [[ -f "${reviewer_stats_cache_folder}/${reviewer_stats_filename}" ]]; then
ORIGFILE="$HOME/$reviewer_stats_cache_folder/$reviewer_stats_filename"
if test -f "$ORIGFILE"; then
echo "Copy reviewer stats file to ${reviewer_stats_target_folder}"
cp ${reviewer_stats_cache_folder}/${reviewer_stats_filename} ${reviewer_stats_target_folder}
cp ${ORIGFILE} ${reviewer_stats_target_folder}
else
echo "Create empty reviewer stats file in ${reviewer_stats_target_folder}"
touch ${reviewer_stats_target_folder}/${reviewer_stats_filename}
Expand Down

0 comments on commit 01bc291

Please sign in to comment.