implement makeCleanDirectory()

Cette révision appartient à :
belliash 2012-01-12 19:53:35 +01:00
Parent c148d80cb1
révision b802711643
1 fichiers modifiés avec 10 ajouts et 0 suppressions

Voir le fichier

@ -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%