projects
/
tools
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c11ec23
)
Merge patch (download packages to different dirs for each build instances)
author
jiankang.fan
<jiankang.fan@samsung.com>
Thu, 10 Mar 2016 07:56:04 +0000
(15:56 +0800)
committer
jiankang.fan
<jiankang.fan@samsung.com>
Thu, 10 Mar 2016 07:56:04 +0000
(15:56 +0800)
Change-Id: I7a844669efa718747e0fc27c761b73b02dde22ca
Signed-off-by: jiankang.fan <jiankang.fan@samsung.com>
init_buildsystem
patch
|
blob
|
history
diff --git
a/init_buildsystem
b/init_buildsystem
index 3ea3052426c71a8ccb6aa5bed032bd354be41e60..169158dc69bbc6a18170f35c9432d71918a44d71 100755
(executable)
--- a/
init_buildsystem
+++ b/
init_buildsystem
@@
-379,7
+379,7
@@
downloadpkg() {
cleanup_and_exit 1
fi
- local destdir="$cachedir/tmp"
+ local destdir="$cachedir/tmp
_$$
"
mkdir -p "$destdir"
echo "downloading $url ... ";
$BUILD_DIR/download "$destdir" "$url" || cleanup_and_exit 1
@@
-400,6
+400,7
@@
downloadpkg() {
;;
esac
mv "$destfile" "$SRC" || cleanup_and_exit 1
+ rm -rf $destdir
}
getcachedir() {