aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosep Puigdemont <josep.puigdemont@enea.com>2016-04-27 17:41:05 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2016-05-02 14:50:51 +0000
commit3058736e394b0671d428ce31200b78ee0c0a1a36 (patch)
treee1d1350d3f3bbb79d95c316850a37c0759ffc44c
parentc54a104a43d3b4a0f2c331f3a70b4963a3ec358c (diff)
build.sh: move files instead of copying them.
Change-Id: Ib59d82067d028a2c946a87747a6975749c85133b Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> (cherry picked from commit 3b174977cbb4bf7a3a734912748204ca923bcc19)
-rwxr-xr-xci/build.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/ci/build.sh b/ci/build.sh
index 38be254..fbaa726 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