From aaf50f0f66f5ef59ffe1209b819d160dc6041736 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Thu, 19 Mar 2020 14:02:15 -0400 Subject: Fix docker man page links Signed-off-by: Daniel J Walsh --- docs/dckrman.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs/dckrman.sh') diff --git a/docs/dckrman.sh b/docs/dckrman.sh index 8ae7fd40d..c69524a7e 100755 --- a/docs/dckrman.sh +++ b/docs/dckrman.sh @@ -1,5 +1,6 @@ #!/bin/sh for i in $@; do - filename=$(echo $i | sed 's/podman/docker/g') - echo .so man1/$i > $filename + b=$(basename $i) + filename=$(echo $i | sed 's/podman/docker/g') + echo .so man1/$b > $filename done -- cgit v1.2.3-54-g00ecf