implement makeCleanDirectory()

This commit is contained in:
belliash 2012-01-12 19:53:35 +01:00
父節點 c148d80cb1
當前提交 b802711643
共有 1 個文件被更改,包括 10 次插入0 次删除

查看文件

@ -59,6 +59,16 @@ function makeCoreDirectories() {
return 0
}
#-------------------------------------------------------------------------------
# Creates all components of the specified directories assuming thay are empty
# Parameters: %directory%
#-------------------------------------------------------------------------------
function makeCleanDirectory() {
rm -rf "${@}"
makeDirectory "${@}"
return ${?}
}
#-------------------------------------------------------------------------------
# Creates all components of the specified directories
# Parameters: %directory%