[pacman-dev] [PATCH] Fix dest dir when using lp: bzr URLs in the source array
9 Apr
2013
9 Apr
'13
10:58 a.m.
From: Alucryd <alucryd@gmail.com> Signed-off-by: Maxime Gauduin <alucryd@gmail.com> --- scripts/makepkg.sh.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 0ac4975..69001d3 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -245,6 +245,9 @@ get_filename() { filename=${netfile%%#*} filename=${filename%/} filename=${filename##*/} + if [[ $proto = bzr* ]]; then + filename=${filename#*lp:} + fi if [[ $proto = git* ]]; then filename=${filename%%.git*} fi -- 1.8.2
4202
Age (days ago)
4202
Last active (days ago)
0 comments
1 participants
participants (1)
-
Maxime Gauduin