Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Make all the install prefix subdirectories if they don't exist already
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Aug 17, 2023
1 parent bf1c3b7 commit 6824e60
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion buildscripts/_build_getopts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ while getopts ":d:p:m:h" ARG; do
;;
esac
done

read -r OS ARCH < <($SCRIPT_DIR/get_platform.sh)
case $OS in
MacOSX)
Expand Down Expand Up @@ -86,4 +87,8 @@ if [ -z ${DEPENDENCY_ENV_VARS+x} ]; then
DEPENDENCY_ENV_VARS=true
fi

mkdir -p ${DEPENDENCY_DIR}
mkdir -p ${DEPENDENCY_DIR}
mkdir -p ${PREFIX}/lib
mkdir -p ${PREFIX}/include
mkdir -p ${PREFIX}/share
mkdir -p ${PREFIX}/bin

0 comments on commit 6824e60

Please sign in to comment.