diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-05-25 19:51:16 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-05-25 19:51:16 +0200 |
commit | fb742a05a3e024d19b90cebec754f8fe428c2410 (patch) | |
tree | 7161471e3044fde251262a3f38848a45bc7ee73e /bin | |
parent | f568928fb3ee3c45afd55a02d2095e88d7785ad3 (diff) |
fixed changeroot
Diffstat (limited to 'bin')
-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 } } |