From 3058736e394b0671d428ce31200b78ee0c0a1a36 Mon Sep 17 00:00:00 2001 From: Josep Puigdemont Date: Wed, 27 Apr 2016 17:41:05 +0200 Subject: build.sh: move files instead of copying them. Change-Id: Ib59d82067d028a2c946a87747a6975749c85133b Signed-off-by: Josep Puigdemont (cherry picked from commit 3b174977cbb4bf7a3a734912748204ca923bcc19) --- ci/build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/build.sh b/ci/build.sh index 38be2547..fbaa7261 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -37,10 +37,10 @@ make REVSTATE="${OPNFV_ARTIFACT_VERSION}" release || write_gitinfo >> ${BUILD_BASE}/gitinfo_armband.txt -echo "Copying results to $OUTPUT_DIR" +echo "Moving results to $OUTPUT_DIR" sort ${BUILD_BASE}/gitinfo*.txt > ${OUTPUT_DIR}/gitinfo.txt -cp ${RESULT_DIR}/*.iso ${OUTPUT_DIR}/ -cp ${RESULT_DIR}/*.iso.txt ${OUTPUT_DIR}/ +mv ${RESULT_DIR}/*.iso ${OUTPUT_DIR}/ +mv ${RESULT_DIR}/*.iso.txt ${OUTPUT_DIR}/ # We need to build our own ODL plugin, and when this happens, fuel # renames the iso to unofficial-opnfv-${REVSTATE}.iso, so here we remove -- cgit 1.2.3-korg