diff options
author | Alex Yang <yangyang1@zte.com.cn> | 2017-02-22 16:57:37 +0800 |
---|---|---|
committer | Alex Yang <yangyang1@zte.com.cn> | 2017-02-22 16:57:37 +0800 |
commit | cecb07ffac55ed186389557140f3b6f44806b0a4 (patch) | |
tree | d4bb935fb4ca7865aa52669265fee03e294eae21 /ci/build_rpm/build_rpms_docker.sh | |
parent | 56473c5c7f537b719a3b6c96067a72ac3569955a (diff) |
Add executable attribute to opnfv bin file
1. Add executable attribute to the build-output bin file
2. Determine whether the bin file exists and is excutable before deployment
Change-Id: I95b43c9efacfbd47a5f570dac793c0a8d3fe9bbb
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
Diffstat (limited to 'ci/build_rpm/build_rpms_docker.sh')
-rwxr-xr-x | ci/build_rpm/build_rpms_docker.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ci/build_rpm/build_rpms_docker.sh b/ci/build_rpm/build_rpms_docker.sh index 62993042..4434157a 100755 --- a/ci/build_rpm/build_rpms_docker.sh +++ b/ci/build_rpm/build_rpms_docker.sh @@ -52,5 +52,6 @@ do done cd .. mv target/el7/noarch/installdaisy_el7_noarch.bin target/el7/noarch/opnfv-${OPNFV_ARTIFACT_VERSION}.bin +chmod +x target/el7/noarch/opnfv-${OPNFV_ARTIFACT_VERSION}.bin cp target/el7/noarch/opnfv-${OPNFV_ARTIFACT_VERSION}.bin $rpm_output_dir exit $rc |