summaryrefslogtreecommitdiff
path: root/docs/dckrman.sh
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-03-19 14:02:15 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-03-19 14:03:02 -0400
commitaaf50f0f66f5ef59ffe1209b819d160dc6041736 (patch)
tree13adb5e53b416e37e20920d311a35a94d332092a /docs/dckrman.sh
parent1cb3e3a705b3996cf75d5fc8d02c9064cebe6d7f (diff)
downloadpodman-aaf50f0f66f5ef59ffe1209b819d160dc6041736.tar.gz
podman-aaf50f0f66f5ef59ffe1209b819d160dc6041736.tar.bz2
podman-aaf50f0f66f5ef59ffe1209b819d160dc6041736.zip
Fix docker man page links
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'docs/dckrman.sh')
-rwxr-xr-xdocs/dckrman.sh5
1 files changed, 3 insertions, 2 deletions
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