summaryrefslogtreecommitdiff
path: root/scripts/mk-patch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mk-patch.sh')
-rwxr-xr-xscripts/mk-patch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mk-patch.sh b/scripts/mk-patch.sh
index 2cd4529..3489d9d 100755
--- a/scripts/mk-patch.sh
+++ b/scripts/mk-patch.sh
@@ -34,7 +34,7 @@ hg -R "${repos}" log -b "${branch}" -r "${r1}:tip" --template '{rev}\n' \
continue
fi
plog=$( hg -R "${repos}" log -r ${rev} --template '{desc|firstline}\n' \
- |sed -r -e 's,[/ :]+,_,g;' \
+ |sed -r -e 's,[/:,[:space:]],_,g; s/_+/_/g;' \
)
pname="${p}-${plog}.patch"
printf "Revision '%d' --> '%s'\n" ${rev} "${pname}"