[deploy_cp] GIT_DIR side cleaning now working
This commit is contained in:
parent
87d8f8e167
commit
7ae4f59c5d
1 changed files with 1 additions and 1 deletions
|
@ -41,6 +41,6 @@ deploy_cp() {
|
|||
|
||||
## Cleans GIT_DIR of split IMAGEIDs
|
||||
_msg EXEC "Cleaning ${IMAGEID}"
|
||||
find ${GIT_DIR}/ -name "${IMAGEID}-" -exec rm '{}' \;
|
||||
find ${GIT_DIR}/ \( -name "${IMAGEID}-*" -or -name "split-track*" \) -exec rm '{}' \;
|
||||
[[ $? -eq 0 ]] && _msg OK || _msg WARN
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue