summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-05-25 19:55:47 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-05-25 19:55:47 +0200
commitec8935c194042e2136afb2e61d11aeefda105ad4 (patch)
treebaa995af84f2494a32fd1a275149125c12551063 /bin
parent08470c6ccc063333ba47bc9efb223b3c4439cb7c (diff)
now it should work
Diffstat (limited to 'bin')
-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
}
}