1
0
mirror of https://github.com/sstephenson/bats.git synced 2024-12-25 14:09:43 +01:00

Ensure $PREFIX/share/man/man{1,7} directories exist

Fixes #33
This commit is contained in:
Sam Stephenson 2013-11-10 22:56:29 -06:00
parent 26a89da1b5
commit 80815f7ebd

View File

@ -28,7 +28,7 @@ if [ -z "$1" ]; then
fi
BATS_ROOT="$(abs_dirname "$0")"
mkdir -p "$PREFIX"/{bin,libexec}
mkdir -p "$PREFIX"/{bin,libexec,share/man/man{1,7}}
cp -R "$BATS_ROOT"/bin/* "$PREFIX"/bin
cp -R "$BATS_ROOT"/libexec/* "$PREFIX"/libexec
cp "$BATS_ROOT"/man/bats.1 "$PREFIX"/share/man/man1