fix(coreos-doc): remove the documentation folder if it already exist in DEPLOY_DIR
This commit is contained in:
parent
a462310df9
commit
a6f33081eb
|
|
@ -23,6 +23,7 @@ do_install() {
|
|||
|
||||
# Deploy to build/tmp/deploy/documentation
|
||||
do_deploy() {
|
||||
rm -rf ${DEPLOY_DIR}/documentation
|
||||
cp --no-preserve=ownership -r ${B} ${DEPLOY_DIR}/documentation
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue