From 39d6976e89e97249cda9a2d915bc399541ee9d46 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Thu, 7 Jan 2016 17:38:32 +0100 Subject: [PATCH] build: minor change creating symlinks in install-exec-hook for nmtui --- clients/tui/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/tui/Makefile.am b/clients/tui/Makefile.am index 0ce3cc456..caf792ee6 100644 --- a/clients/tui/Makefile.am +++ b/clients/tui/Makefile.am @@ -25,12 +25,12 @@ links = nmtui-edit nmtui-connect nmtui-hostname install-exec-hook: for link in $(links); do \ - cd $(DESTDIR)$(bindir) && $(LN_S) -f nmtui $$link; \ + $(LN_S) -f nmtui "$(DESTDIR)$(bindir)/$$link"; \ done uninstall-hook: for link in $(links); do \ - rm -f $(DESTDIR)$(bindir)/$$link; \ + rm -f "$(DESTDIR)$(bindir)/$$link"; \ done nmtui_SOURCES = \