summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-05-07 14:13:04 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-05-07 14:17:18 -0400
commit20d4087669a09410ed1fd3bfaf8d295a18609fef (patch)
treeaabb210b4e9c35da377d4c33e566062be1143ad6
parent11ec7cede5bd0255e9df7bf95325d8b69993e40f (diff)
build-sys: properly mkdir with DESTDIR set
grawity> ln: failed to create symbolic link ‘/home/grawity/pkg/aur/systemd-git/pkg/systemd//etc/systemd/system/multi-user.target.wants/remote-fs.target’: No such file or directory
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 96f80d73c1..1b8ed92237 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -244,7 +244,7 @@ install-aliases-hook:
dir= && $(install-aliases)
define install-aliases
- $(MKDIR_P) /$(DESTDIR)$$dir && \
+ $(MKDIR_P) $(DESTDIR)$$dir && \
while [ -n "$$1" ]; do \
rm -f $(DESTDIR)$$dir/$$2 && \
$(LN_S) $$1 $(DESTDIR)$$dir/$$2 && \