From ec8935c194042e2136afb2e61d11aeefda105ad4 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 25 May 2008 19:55:47 +0200 Subject: now it should work --- bin/pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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 } } -- cgit v1.2.3