Browse Source

fixes: wrong version cloned for JSONAdapter

IOS-2882
Andreas Buff 12 months ago
parent
commit
62298857d7
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      buildcode/pEpminijsonadapter.code

+ 4
- 1
buildcode/pEpminijsonadapter.code View File

@ -3,9 +3,11 @@ if [ -f "${PREFIX}/bin/pEp-mini-json-adapter" ]; then
exit 0
fi
VERSION=$(sh "${SCRIPT_DIR}/get-pEp-version.sh" "JSON_SERVER_ADAPTER_VERSION")
PEP_JSON_ADAPTER_DIR="${TMP_DIR}/pEpJSONServerAdapter"
if [ ! -d "${PEP_JSON_ADAPTER_DIR}" ]; then
git clone -b ${JSON_SERVER_ADAPTER_VERSION} https://gitea.pep.foundation/pEp.foundation/pEpJSONServerAdapter.git
git clone -b ${VERSION} https://gitea.pep.foundation/pEp.foundation/pEpJSONServerAdapter.git
fi
export CXXFLAGS="-arch ${ARCH} -isysroot ${SDK_PATH}"
@ -38,5 +40,6 @@ unset CXX
unset LDFLAGS
unset CFLAGS
unset CC
# Copy Artefact
cp pEpJSONServerAdapter/server/pEp-mini-json-adapter "${CURRENT_LIB_DIR}/bin/"

Loading…
Cancel
Save