summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-03-23 10:13:06 +0100
committerGitHub <noreply@github.com>2020-03-23 10:13:06 +0100
commitd6c9f3e7bf83f870a5929c9d37d29f5993e73d08 (patch)
tree28b57af426ee8c44ac82ca83f4297789b4b5e298
parent31d14457a5636df62c755480ee10f1946a5bc8b0 (diff)
parentaaf50f0f66f5ef59ffe1209b819d160dc6041736 (diff)
downloadpodman-d6c9f3e7bf83f870a5929c9d37d29f5993e73d08.tar.gz
podman-d6c9f3e7bf83f870a5929c9d37d29f5993e73d08.tar.bz2
podman-d6c9f3e7bf83f870a5929c9d37d29f5993e73d08.zip
Merge pull request #5559 from rhatdan/docker
Fix docker man page links
-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