Skip to content

Commit

Permalink
Prepare version 2.10.1
Browse files Browse the repository at this point in the history
Merge branch 'dev'
  • Loading branch information
pylapp committed May 31, 2023
2 parents 10032be + ac5dbad commit 72a57a4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG

## Version 2.10.1

### Features

- [#80](https://github.com/Orange-OpenSource/floss-toolbox/issues/80) Diver - Path variables not protected

## Version 2.10.0

### Features
Expand Down
6 changes: 3 additions & 3 deletions toolbox/diver/extract-emails-from-history.sh
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ current_folder=`pwd`
cd "$git_based_project"

git_log_file="$current_folder/data/$GIT_LOG_TEMP_FILE"
if [ -f $git_log_file ]; then
if [ -f "$git_log_file" ]; then
rm $git_log_file
fi

Expand All @@ -222,7 +222,7 @@ if [ "$( git log --oneline -5 2>/dev/null | wc -l )" -eq 0 ]; then
NormalExit
fi

git log --since=$git_log_limit > $git_log_file
git log --since=$git_log_limit > "$git_log_file"

if [ ! -s "$git_log_file" ]; then
cd "$current_folder"
Expand Down Expand Up @@ -276,7 +276,7 @@ echo "📈 Elapsed time.............................................: $(($script

# The end!

rm $git_log_file
rm "$git_log_file"
echo -e "\nReports available in $REPORT_METRIC_FILE:"
cat $REPORT_METRIC_FILE

Expand Down

0 comments on commit 72a57a4

Please sign in to comment.