summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mageia-reset-and-import.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/mageia-reset-and-import.sh b/scripts/mageia-reset-and-import.sh
index da290ec..8a301c3 100755
--- a/scripts/mageia-reset-and-import.sh
+++ b/scripts/mageia-reset-and-import.sh
@@ -253,7 +253,13 @@ if [ -n "$morerevisions" ]; then
fi
COMMITDATE=$(svn log -r $revision $NEWSVNURL/$SOFTWARE | head -n2 | tail -n1 | cut -d'|' -f3 | cut -d'(' -f1 | trim)
-git commit --author="Mageia SVN-Git Migration <svn-git-migration@mageia.org>" --date="$COMMITDATE" --file=$COMMITTXT -a
+env GIT_COMMITTER_NAME="Mageia SVN-Git Migration" \
+ GIT_COMMITTER_EMAIL="svn-git-migration@mageia.org" \
+ GIT_COMMITTER_DATE="$COMMITDATE" \
+ GIT_AUTHOR_NAME="Mageia SVN-Git Migration" \
+ GIT_AUTHOR_EMAIL="svn-git-migration@mageia.org" \
+ GIT_AUTHOR_DATE="$COMMITDATE" \
+ git commit -a --file=$COMMITTXT
rm -f $COMMITTXT
echo