diff options
Diffstat (limited to 'bin/pkg')
-rwxr-xr-x | bin/pkg | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -116,7 +116,7 @@ pkg_changesrc () { cd $PDIR for i in *(/); { if [ -f $i/.hg/hgrc ]; then - sed -ri "s!(default = )[^:]*://[^/]*/!\1$1/!" $i/.hg/hgrc + sed -ri "s!(default = )[^:]*://.*/([^/]*)$/!\1$1\2/!" $i/.hg/hgrc fi } } |