summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/mageia-reset-and-import.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/mageia-reset-and-import.sh b/scripts/mageia-reset-and-import.sh
index 52874da..4d7dbcc 100755
--- a/scripts/mageia-reset-and-import.sh
+++ b/scripts/mageia-reset-and-import.sh
@@ -414,7 +414,7 @@ echo
echo -n "Creating revision -> sha1 map SQL... "
sql="../$SOFTWARE-revmap.sql"
-rm -f "$sql"
+rm -f "$sql" "$sql".xz
# First to the old (i.e. mdv) ones
revmap=".git/svn/refs/remotes/trunk/.rev_map.$OLDSVNUUID"
@@ -444,4 +444,6 @@ for revmap in $(find .git/svn/refs/remotes/{tags,branches} -name .rev_map.$NEWSV
parsesvnrevmap "$revmap" "mga" "$(echo $revmap | cut -d'/' -f6)" >>"$sql"
done
+xz "$sql"
+
echo "done"