clean empty directories
This commit is contained in:
parent
3d96a1e6c6
commit
ce574c29ed
10
builder
10
builder
@ -274,6 +274,8 @@ function compile ()
|
||||
sleep 1
|
||||
done
|
||||
|
||||
find "$KFUnpublish" -type d -empty -delete
|
||||
|
||||
restore_kfeditorconf
|
||||
}
|
||||
|
||||
@ -339,7 +341,7 @@ function brew ()
|
||||
publish_common
|
||||
brew_cleanup
|
||||
|
||||
find "$KFPublishBrewedPC" -type d -empty -delete
|
||||
find "$KFPublish" -type d -empty -delete
|
||||
}
|
||||
|
||||
function brew_manual ()
|
||||
@ -369,7 +371,7 @@ function brew_manual ()
|
||||
|
||||
publish_common
|
||||
|
||||
find "$KFPublishBrewedPC" -type d -empty -delete
|
||||
find "$KFPublish" -type d -empty -delete
|
||||
}
|
||||
|
||||
# Uploading without brewing
|
||||
@ -385,7 +387,7 @@ function publish_unpublished ()
|
||||
|
||||
publish_common
|
||||
|
||||
find "$KFPublishBrewedPC" -type d -empty -delete
|
||||
find "$KFPublish" -type d -empty -delete
|
||||
}
|
||||
|
||||
function upload ()
|
||||
@ -403,7 +405,7 @@ function upload ()
|
||||
publish_unpublished
|
||||
fi
|
||||
|
||||
find "$KFPublishBrewedPC" -type d -empty -delete
|
||||
find "$KFPublish" -type d -empty -delete
|
||||
|
||||
PreparedWsDir=$(mktemp -d -u -p "$KFDoc")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user