summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-01-07 17:38:32 +0100
committerThomas Haller <thaller@redhat.com>2016-01-07 17:42:51 +0100
commit288eb02280d2190d78864b8ed6a225b7008786bd (patch)
treeb66112f5c80995e2a2e9535fc3bea05a00ffeb8a
parentc96b1ca343bc0f66f733dcd3bd41ef0c7a45b506 (diff)
downloadNetworkManager-288eb02280d2190d78864b8ed6a225b7008786bd.tar.gz
build: minor change creating symlinks in install-exec-hook for nmtui
(cherry picked from commit 39d6976e89e97249cda9a2d915bc399541ee9d46)
-rw-r--r--clients/tui/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/clients/tui/Makefile.am b/clients/tui/Makefile.am
index 3eb1756ea9..e4ae5e853e 100644
--- a/clients/tui/Makefile.am
+++ b/clients/tui/Makefile.am
@@ -27,12 +27,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 = \