Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
3f9b7da9
Commit
3f9b7da9
authored
Mar 04, 2013
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmbph: use tmpdir for repack src.rpm
parent
7bac1234
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
rpmbph
bin/rpmbph
+4
-1
common
share/eterbuild/functions/common
+1
-1
No files found.
bin/rpmbph
View file @
3f9b7da9
...
@@ -471,7 +471,8 @@ unset MENV MENVARG
...
@@ -471,7 +471,8 @@ unset MENV MENVARG
# handle src.rpm and spec both, LISTBUILT - result with full paths to src.rpms
# handle src.rpm and spec both, LISTBUILT - result with full paths to src.rpms
pack_src_rpm
$LISTNAMES
pack_src_rpm
$LISTNAMES
export
RPMTOPDIR
=
$RPMDIR
/BP
export
RPMTOPDIR
=
$(
mktemp
-d
||
fatal
"can't create tmp dir"
)
mark_file_to_remove
$RPMTOPDIR
# prevent gear detecting (operate inside our dir)
# prevent gear detecting (operate inside our dir)
export
IGNOREGEAR
=
1
export
IGNOREGEAR
=
1
...
@@ -490,3 +491,5 @@ for i in $LISTBUILT ; do
...
@@ -490,3 +491,5 @@ for i in $LISTBUILT ; do
uni_rpmrm
$SPECNAME
||
true
uni_rpmrm
$SPECNAME
||
true
done
done
rm
-rf
$RPMTOPDIR
remove_file_from_remove
$RPMTOPDIR
share/eterbuild/functions/common
View file @
3f9b7da9
...
@@ -27,7 +27,7 @@ fatal()
...
@@ -27,7 +27,7 @@ fatal()
{
{
print_message Error
"
$@
"
print_message Error
"
$@
"
if
[
-n
"
$ETERSOFT_FATAL_REMOVE_FILES
"
]
;
then
if
[
-n
"
$ETERSOFT_FATAL_REMOVE_FILES
"
]
;
then
rm
-vf
$ETERSOFT_FATAL_REMOVE_FILES
rm
-
r
vf
$ETERSOFT_FATAL_REMOVE_FILES
fi
fi
exit
1
exit
1
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment