From b28cc5d0ebbdb188a63c151cd3784e99765311ce Mon Sep 17 00:00:00 2001 From: "Tom G. Christensen" Date: Sun, 11 Jun 2006 09:45:24 +0000 Subject: [PATCH] Correct the extraction of the .so link target when symlinking manpages --- buildpkg.functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildpkg.functions b/buildpkg.functions index a829df3..ff71416 100644 --- a/buildpkg.functions +++ b/buildpkg.functions @@ -444,7 +444,7 @@ symlink_man() do solink="$($HEAD -1 $manpage)" if [ "${solink:0:3}" = ".so" ]; then # .so style link to be converted - linkdest="${solink/#.so /}" + linkdest="${solink#.so*/}" [ "$symlinkman_verbose" -eq 1 ] && echo "Symlinking $linkdest->$manpage" $LN -sf "$linkdest" "$manpage" fi