Move instead of copy the temporary git manifest
This prevents a build-up of temporary files in the cache directory Change-Id: Ice34b57ef4f24bbe69b43ee3b2e2e394894825e5
This commit is contained in:
parent
ae9ccc4a23
commit
b507cab2b5
@ -178,5 +178,5 @@ done
|
|||||||
|
|
||||||
# Copy the manifest into the image if it exists (there may be no git repositories used)
|
# Copy the manifest into the image if it exists (there may be no git repositories used)
|
||||||
if [ -e "$GIT_MANIFEST" ] ; then
|
if [ -e "$GIT_MANIFEST" ] ; then
|
||||||
sudo cp $GIT_MANIFEST $TMP_MOUNT_PATH/${DIB_MANIFEST_IMAGE_DIR}/$GIT_MANIFEST_NAME
|
sudo mv $GIT_MANIFEST $TMP_MOUNT_PATH/${DIB_MANIFEST_IMAGE_DIR}/$GIT_MANIFEST_NAME
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user