Skip to content

Commit e924fb8

Browse files
committed
Ensure that ${DERIVED_FILE_DIR} is created before writing out xhyve-version.h
This was causing issues with builds in MacPorts. Fixes https://trac.macports.org/ticket/57674 Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>
1 parent 9ea6650 commit e924fb8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xcscripts/version.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ else
88
VERSION="v${CURRENT_PROJECT_VERSION}"
99
fi
1010

11+
mkdir -p "${DERIVED_FILE_DIR}"
1112
echo "#define VERSION \"${VERSION}\"" > "${DERIVED_FILE_DIR}/xhyve-version.h"

0 commit comments

Comments
 (0)