Permalink
Browse files

Ensure that ${DERIVED_FILE_DIR} is created before writing out xhyve-v…

…ersion.h

This was causing issues with builds in MacPorts.

Fixes https://trac.macports.org/ticket/57674

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
  • Loading branch information...
jeremyhu committed Nov 26, 2018
1 parent 9ea6650 commit e924fb854379267e3a85b42ae7427e4a81830b83
Showing with 1 addition and 0 deletions.
  1. +1 −0 xcscripts/version.sh
@@ -8,4 +8,5 @@ else
VERSION="v${CURRENT_PROJECT_VERSION}"
fi
mkdir -p "${DERIVED_FILE_DIR}"
echo "#define VERSION \"${VERSION}\"" > "${DERIVED_FILE_DIR}/xhyve-version.h"

0 comments on commit e924fb8

Please sign in to comment.