rename variable TEMPDIR to STOREDIR
This commit is contained in:
parent
1c51ae931f
commit
1162948c40
|
@ -37,7 +37,7 @@ PUSHDATEFORMAT="%a %b %d %H:%M:%S %Z %Y"
|
||||||
|
|
||||||
# Specifies where EzBuild will store everything that it builds, and also where it will
|
# Specifies where EzBuild will store everything that it builds, and also where it will
|
||||||
# put all its temporary files and caches.
|
# put all its temporary files and caches.
|
||||||
TEMPDIR="/var/tmp/ezbuild"
|
STOREDIR="/var/tmp/ezbuild"
|
||||||
|
|
||||||
# Treats all errors as fatal, when enabled. Disabling this option allows EzBuild scripts
|
# Treats all errors as fatal, when enabled. Disabling this option allows EzBuild scripts
|
||||||
# to continue execution when some non-fatal errors occure. They all will be treated as
|
# to continue execution when some non-fatal errors occure. They all will be treated as
|
||||||
|
|
|
@ -4,27 +4,27 @@
|
||||||
|
|
||||||
# Specifies the path to the directory that will contain any temporary created executable
|
# Specifies the path to the directory that will contain any temporary created executable
|
||||||
# files, necessary for EzBuild to operate correctly.
|
# files, necessary for EzBuild to operate correctly.
|
||||||
BINDIR="${TEMPDIR}/bin"
|
BINDIR="${STOREDIR}/bin"
|
||||||
|
|
||||||
# Directive sets the path to the directory, where EzBuild will store everything that it
|
# Directive sets the path to the directory, where EzBuild will store everything that it
|
||||||
# builds (eg. stages).
|
# builds (eg. stages).
|
||||||
BUILDDIR="${TEMPDIR}/builds"
|
BUILDDIR="${STOREDIR}/builds"
|
||||||
|
|
||||||
# Defines the directory in which overlays with user made ebuilds will be saved for further
|
# Defines the directory in which overlays with user made ebuilds will be saved for further
|
||||||
# merging with portage tree.
|
# merging with portage tree.
|
||||||
OVERLAYSDIR="${TEMPDIR}/overlays"
|
OVERLAYSDIR="${STOREDIR}/overlays"
|
||||||
|
|
||||||
# Directive sets the path where EzBuild will put binary packages for all ebuilds processed
|
# Directive sets the path where EzBuild will put binary packages for all ebuilds processed
|
||||||
# in addition to compiling and installing the packages.
|
# in addition to compiling and installing the packages.
|
||||||
PACKAGESDIR="${TEMPDIR}/packages"
|
PACKAGESDIR="${STOREDIR}/packages"
|
||||||
|
|
||||||
# This is the path where EzBuild will store entire portage trees, that are necessary for
|
# This is the path where EzBuild will store entire portage trees, that are necessary for
|
||||||
# synchronization with the mainline (usually Gentoo).
|
# synchronization with the mainline (usually Gentoo).
|
||||||
PORTAGESDIR="${TEMPDIR}/portages"
|
PORTAGESDIR="${STOREDIR}/portages"
|
||||||
|
|
||||||
# This specifies the directory where EzBuild will put its temporary files and caches.
|
# This specifies the directory where EzBuild will put its temporary files and caches.
|
||||||
TRASHDIR="${TEMPDIR}/temp"
|
TRASHDIR="${STOREDIR}/temp"
|
||||||
|
|
||||||
# Directive sets the filename for logging of all information about the progress and of all
|
# Directive sets the filename for logging of all information about the progress and of all
|
||||||
# executed commands output. This has to contain absolute path to the created file.
|
# executed commands output. This has to contain absolute path to the created file.
|
||||||
LOGFILE="${TEMPDIR}/${EZNAME}.log"
|
LOGFILE="${STOREDIR}/${EZNAME}.log"
|
||||||
|
|
|
@ -30,7 +30,7 @@ function cleanLog() {
|
||||||
# Completely removes whole temp directory
|
# Completely removes whole temp directory
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
function cleanTemp() {
|
function cleanTemp() {
|
||||||
rm -rf ${TEMPDIR} &> /dev/null
|
rm -rf ${STOREDIR} &> /dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
|
@ -88,7 +88,7 @@ function generateDigests() {
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
function makeCoreDirectories() {
|
function makeCoreDirectories() {
|
||||||
local DIRS="${BINDIR} ${BUILDDIR} ${LOGFILE%/*} ${OVERLAYSDIR} \
|
local DIRS="${BINDIR} ${BUILDDIR} ${LOGFILE%/*} ${OVERLAYSDIR} \
|
||||||
${PACKAGESDIR} ${PORTAGESDIR} ${TEMPDIR} ${TRASHDIR}"
|
${PACKAGESDIR} ${PORTAGESDIR} ${STOREDIR} ${TRASHDIR}"
|
||||||
for DIR in ${DIRS}; do
|
for DIR in ${DIRS}; do
|
||||||
makeDirectory ${DIR} || return 1
|
makeDirectory ${DIR} || return 1
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue