build-mac - fixes: generate script not triggered even not build folder exists (wrong path in output file).

pull/10/head
Andreas Buff 1 year ago
parent 0829bb5dbb
commit 5738d9f070
  1. 5
      build-mac/pEpTransport.xcodeproj/project.pbxproj

@ -179,12 +179,11 @@
outputFileListPaths = (
);
outputPaths = (
"${PROJECT_DIR}/../build/include/pEp/PEPTransportStatusCode.h",
"${PROJECT_DIR}/../../src/PEPTransportStatusCode.h",
"${PROJECT_DIR}/build/include/pEp/PEPTransportStatusCode.h",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = "/bin/sh -l";
shellScript = "export LANG=en_US.UTF-8\n\necho \"***************************************\"\necho \"*** Generate files: ACTION: $ACTION ***\"\necho \"***************************************\"\n\nMAKE_DIR=\"${PROJECT_DIR}/../\"\nCUSTOM_BUILD_DIR=\"${PROJECT_DIR}/build\"\n\nmkdir -p ${CUSTOM_BUILD_DIR}\n\npushd \"${MAKE_DIR}\"\n echo \"PREFIX=${CUSTOM_BUILD_DIR}\" > local.conf\n echo \"YML2_PATH=~/yml2\" >> local.conf\n make src\n make install\npopd\n";
shellScript = "export LANG=en_US.UTF-8\n\n# Under unknown circumstances, this script is excecuted even the \"Ouput File\" exists. Thus we make our hands dirty and deny to run if exists\nFILE=${SCRIPT_OUTPUT_FILE_0}\nif [[ -f $FILE ]];then\n echo \"####################################\"\n echo \"Skipped libpEptransport code generation. Considered done already.\"\n echo \"####################################\"\n exit 0\nfi\n\necho \"***************************************\"\necho \"*** Generate files: ACTION: $ACTION ***\"\necho \"***************************************\"\n\nMAKE_DIR=\"${PROJECT_DIR}/../\"\nCUSTOM_BUILD_DIR=\"${PROJECT_DIR}/build\"\n\nmkdir -p ${CUSTOM_BUILD_DIR}\n\npushd \"${MAKE_DIR}\"\n echo \"PREFIX=${CUSTOM_BUILD_DIR}\" > local.conf\n echo \"YML2_PATH=~/yml2\" >> local.conf\n make src\n make install\npopd\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */

Loading…
Cancel
Save