mirror of
https://github.com/systemd/systemd.git
synced 2024-11-30 13:53:39 +08:00
build-sys: properly mkdir for GENERAL_ALIASES
Previous commit (20d408766
) was broken. The problem is not connected
to DESTDIR being set or not, but to the fact that targets in
$GENERAL_ALIASES have directory components, so mkdir -p wasn't
recursing deep enough.
This commit is contained in:
parent
20d4087669
commit
0b95a21bd7
@ -244,8 +244,8 @@ install-aliases-hook:
|
||||
dir= && $(install-aliases)
|
||||
|
||||
define install-aliases
|
||||
$(MKDIR_P) $(DESTDIR)$$dir && \
|
||||
while [ -n "$$1" ]; do \
|
||||
$(MKDIR_P) `dirname $(DESTDIR)$$dir/$$2` && \
|
||||
rm -f $(DESTDIR)$$dir/$$2 && \
|
||||
$(LN_S) $$1 $(DESTDIR)$$dir/$$2 && \
|
||||
shift 2 || exit $$?; \
|
||||
|
Loading…
Reference in New Issue
Block a user