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:
efd868b
)
Fix lack of OTHER directory cause rpmlint error
author
y0169.zhang
<y0169.zhang@samsung.com>
Tue, 20 Dec 2016 03:48:54 +0000
(12:48 +0900)
committer
y0169.zhang
<y0169.zhang@samsung.com>
Tue, 20 Dec 2016 03:48:54 +0000
(12:48 +0900)
Change-Id: I1cff903d3ef39563eaf573afd29aa3182e1e0fc0
depanneur
patch
|
blob
|
history
diff --git
a/depanneur
b/depanneur
index 203047ce07c7a0b5f8b3d1cb50e59111abcbd11e..6352df11eb329453921e4917b83d9d466a06fabf 100755
(executable)
--- a/
depanneur
+++ b/
depanneur
@@
-1922,6
+1922,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";