projects
/
tools
/
depanneur.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a33f07f
)
Fix lack of OTHER directory cause rpmlint error
author
y0169.zhang
<y0169.zhang@samsung.com>
Tue, 20 Dec 2016 03:37:20 +0000
(12:37 +0900)
committer
SoonKyu Park
<sk7.park@samsung.com>
Mon, 26 Dec 2016 12:15:42 +0000
(21:15 +0900)
Change-Id: I8f31220be793510b2ff55421a8c36906216abce5
depanneur
patch
|
blob
|
history
diff --git
a/depanneur
b/depanneur
index
5bb9832
..
1b9bd24
100755
(executable)
--- a/
depanneur
+++ b/
depanneur
@@
-1919,6
+1919,10
@@
sub build_package {
if ( -d "$builddir") {
my_system("rm -rf $builddir");
}
+ my $otherdir = "$scratch/home/abuild/rpmbuild/OTHER/";
+ if ( ! -d "$otherdir") {
+ my_system("sudo /bin/mkdir -p $otherdir");
+ }
my $project_base_path = $to_build{$name}->{project_base_path};
my_system("sudo /bin/mkdir -p $builddir");
my $mount = "sudo /bin/mount -o bind $project_base_path $builddir";