summaryrefslogtreecommitdiff
path: root/bin/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pkg')
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index 1b38795..b9f05d1 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -116,7 +116,7 @@ pkg_changesrc () {
cd $PDIR
for i in *(/); {
if [ -f $i/.hg/hgrc ]; then
- sed -ri "s!(default = )[^:]*://.*/([^/]*)\$!\1$1\2/!" $i/.hg/hgrc
+ sed -ri "s!(default = )[^:]*://.*\$!\1$1/$i!" $i/.hg/hgrc
fi
}
}