implement makeCoreDirectories()
This commit is contained in:
parent
c7a348ab76
commit
f56001d87a
|
@ -47,6 +47,18 @@ function download() {
|
||||||
return ${RESULT}
|
return ${RESULT}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
# Creates all 'core' directories necessary for EzBuild to operate
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
function makeCoreDirectories() {
|
||||||
|
local DIRS="${BINDIR} ${BUILDDIR} ${LOGFILE%/*} ${OVERLAYSDIR} \
|
||||||
|
${PACKAGESDIR} ${PORTAGESDIR} ${TEMPDIR} ${TRASHDIR}"
|
||||||
|
for DIR in ${DIRS}; do
|
||||||
|
makeDirectory ${DIR} || return 1
|
||||||
|
done
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
# Creates all components of the specified directories
|
# Creates all components of the specified directories
|
||||||
# Parameters: %directory%
|
# Parameters: %directory%
|
||||||
|
|
Loading…
Reference in New Issue