projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe2b4c1
)
fix usage of flock - use the command mode instead of locking a file descriptor to...
author
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 31 Oct 2010 15:33:48 +0000
(15:33 +0000)
committer
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 31 Oct 2010 15:33:48 +0000
(15:33 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23743
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
rules.mk
patch
|
blob
|
history
diff --git
a/rules.mk
b/rules.mk
index
007e5bc
..
3bd6073
100644
(file)
--- a/
rules.mk
+++ b/
rules.mk
@@
-254,9
+254,10
@@
endef
# $(2) => The lock name. If not given, the global lock will be used.
# $(3) => The filedescriptor used for the lock. Defaults to 1023.
define locked
- ( $(STAGING_DIR_HOST)/bin/flock -x $(if $(3),$(3),1023) && \
- $(1) \
- ) $(if $(3),$(strip $(3)),1023)>$(TMP_DIR)/.$(if $(2),$(strip $(2)),global).flock
+ SHELL= \
+ $(STAGING_DIR_HOST)/bin/flock \
+ $(TMP_DIR)/.$(if $(2),$(strip $(2)),global).flock \
+ -c '$(subst ','\'',$(1))'
endef
# file extension
This page took
0.031744 seconds
and
4
git commands to generate.