From 7e5c54414f0f6844ec9cc36757173bc418d22010 Mon Sep 17 00:00:00 2001 From: belliash Date: Sat, 21 Jan 2012 15:36:24 +0100 Subject: [PATCH] correct order --- libraries/filesystem | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/libraries/filesystem b/libraries/filesystem index fe4eacd..fe20730 100644 --- a/libraries/filesystem +++ b/libraries/filesystem @@ -83,6 +83,16 @@ function generateDigests() { return 0 } +#------------------------------------------------------------------------------- +# Creates all components of the specified directories assuming thay are empty +# Parameters: %directory% +#------------------------------------------------------------------------------- +function makeCleanDirectory() { + rm -rf "${@}" + makeDirectory "${@}" + return ${?} +} + #------------------------------------------------------------------------------- # Creates all 'core' directories necessary for EzBuild to operate #------------------------------------------------------------------------------- @@ -95,16 +105,6 @@ 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%