installer_linux.sh 683 B

12345678910111213141516171819202122232425262728293031
  1. #!/usr/bin/env bash
  2. #
  3. # Copyright (c) Contributors to the Open 3D Engine Project.
  4. # For complete copyright and license terms please see the LICENSE at the root of this distribution.
  5. #
  6. # SPDX-License-Identifier: Apache-2.0 OR MIT
  7. #
  8. #
  9. set -o errexit # exit on the first failure encountered
  10. BASEDIR=$(dirname "$0")
  11. source $BASEDIR/env_linux.sh
  12. mkdir -p ${OUTPUT_DIRECTORY}
  13. SOURCE_DIRECTORY=${PWD}
  14. pushd $OUTPUT_DIRECTORY
  15. if ! command -v cpack &> /dev/null; then
  16. echo "[ci_build] CPack not found"
  17. exit 1
  18. fi
  19. echo [ci_build] cpack --version
  20. cpack --version
  21. eval echo [ci_build] cpack -C ${CONFIGURATION} ${CPACK_OPTIONS}
  22. eval cpack -C ${CONFIGURATION} ${CPACK_OPTIONS}
  23. popd