Skip to content

Commit d6dd753

Browse files
authored
Stop copy ansible repo (contiv#318)
Signed-off-by: Wei Tie <[email protected]>
1 parent 4aae3dc commit d6dd753

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/build.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ cp -rf scripts/generate-certificate.sh $output_dir/install
4646
chmod +x $output_dir/install/genInventoryFile.py
4747
chmod +x $output_dir/install/generate-certificate.sh
4848

49-
cp -a "${CONTIV_ARTIFACT_STAGING}/ansible" ${output_dir}/
49+
if [ -d ${CONTIV_ARTIFACT_STAGING}/ansible ]; then
50+
cp -a "${CONTIV_ARTIFACT_STAGING}/ansible" ${output_dir}/
51+
fi
5052

5153
# Replace versions
5254
files=$(find $output_dir -type f -name "*.yaml" -or -name "*.sh" -or -name "*.json")

0 commit comments

Comments
 (0)