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