1
0
mirror of https://github.com/sstephenson/bats.git synced 2024-11-17 11:42:33 +01:00

fix install script to mkdir for manpages

This commit is contained in:
Jameson 2013-11-10 18:41:25 -08:00
parent 26a89da1b5
commit 5a34370df8

View File

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