mirror of
https://github.com/openharmony/third_party_libnl.git
synced 2026-07-01 06:41:52 -04:00
update: 更新文件 install.sh
增加独占锁,防止解压完成前调用 Signed-off-by: li-ke1067 <like115@huawei.com>
This commit is contained in:
@@ -8,6 +8,9 @@
|
||||
|
||||
set -e
|
||||
cd $1
|
||||
touch test.lock
|
||||
(
|
||||
flock -x 200
|
||||
if [ -d "libnl" ];then
|
||||
rm -rf libnl
|
||||
fi
|
||||
@@ -18,3 +21,4 @@ cd $1/libnl
|
||||
./configure
|
||||
patch -p1 < $1/solve-oh-compile-problem3_11_0.patch --fuzz=0 --no-backup-if-mismatch
|
||||
exit 0
|
||||
)200>test.lock
|
||||
|
||||
Reference in New Issue
Block a user