Browse Source

rename variable TEMPDIR to STOREDIR

master
belliash 7 years ago
parent
commit
1162948c40
3 changed files with 10 additions and 10 deletions
  1. 1
    1
      config/common.conf
  2. 7
    7
      config/layout.conf
  3. 2
    2
      libraries/filesystem

+ 1
- 1
config/common.conf View File

@@ -37,7 +37,7 @@ PUSHDATEFORMAT="%a %b %d %H:%M:%S %Z %Y"
37 37
 
38 38
 # Specifies where EzBuild will store everything that it builds, and also where it will
39 39
 # put all its temporary files and caches.
40
-TEMPDIR="/var/tmp/ezbuild"
40
+STOREDIR="/var/tmp/ezbuild"
41 41
 
42 42
 # Treats all errors as fatal, when enabled. Disabling this option allows EzBuild scripts
43 43
 # to continue execution when some non-fatal errors occure. They all will be treated as

+ 7
- 7
config/layout.conf View File

@@ -4,27 +4,27 @@
4 4
 
5 5
 # Specifies the path to the directory that will contain any temporary created executable
6 6
 # files, necessary for EzBuild to operate correctly.
7
-BINDIR="${TEMPDIR}/bin"
7
+BINDIR="${STOREDIR}/bin"
8 8
 
9 9
 # Directive sets the path to the directory, where EzBuild will store everything that it
10 10
 # builds (eg. stages).
11
-BUILDDIR="${TEMPDIR}/builds"
11
+BUILDDIR="${STOREDIR}/builds"
12 12
 
13 13
 # Defines the directory in which overlays with user made ebuilds will be saved for further
14 14
 # merging with portage tree.
15
-OVERLAYSDIR="${TEMPDIR}/overlays"
15
+OVERLAYSDIR="${STOREDIR}/overlays"
16 16
 
17 17
 # Directive sets the path where EzBuild will put binary packages for all ebuilds processed
18 18
 # in addition to compiling and installing the packages.
19
-PACKAGESDIR="${TEMPDIR}/packages"
19
+PACKAGESDIR="${STOREDIR}/packages"
20 20
 
21 21
 # This is the path where EzBuild will store entire portage trees, that are necessary for
22 22
 # synchronization with the mainline (usually Gentoo).
23
-PORTAGESDIR="${TEMPDIR}/portages"
23
+PORTAGESDIR="${STOREDIR}/portages"
24 24
 
25 25
 # This specifies the directory where EzBuild will put its temporary files and caches.
26
-TRASHDIR="${TEMPDIR}/temp"
26
+TRASHDIR="${STOREDIR}/temp"
27 27
 
28 28
 # Directive sets the filename for logging of all information about the progress and of all
29 29
 # executed commands output. This has to contain absolute path to the created file.
30
-LOGFILE="${TEMPDIR}/${EZNAME}.log"
30
+LOGFILE="${STOREDIR}/${EZNAME}.log"

+ 2
- 2
libraries/filesystem View File

@@ -30,7 +30,7 @@ function cleanLog() {
30 30
 # Completely removes whole temp directory
31 31
 #-------------------------------------------------------------------------------
32 32
 function cleanTemp() {
33
-	rm -rf ${TEMPDIR} &> /dev/null
33
+	rm -rf ${STOREDIR} &> /dev/null
34 34
 }
35 35
 
36 36
 #-------------------------------------------------------------------------------
@@ -88,7 +88,7 @@ function generateDigests() {
88 88
 #-------------------------------------------------------------------------------
89 89
 function makeCoreDirectories() {
90 90
 	local DIRS="${BINDIR} ${BUILDDIR} ${LOGFILE%/*} ${OVERLAYSDIR} \
91
-		${PACKAGESDIR} ${PORTAGESDIR} ${TEMPDIR} ${TRASHDIR}"
91
+		${PACKAGESDIR} ${PORTAGESDIR} ${STOREDIR} ${TRASHDIR}"
92 92
 	for DIR in ${DIRS}; do
93 93
 		makeDirectory ${DIR} || return 1
94 94
 	done

Loading…
Cancel
Save