From e4f0bc64d33b184afe1e8533d1e52c64f33c3e69 Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Mon, 27 Dec 2010 12:51:12 +0000 Subject: install: check success of symlink creation git-svn-id: svn://tug.org/texlive/trunk@20868 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/kpathsea/man/Makefile.am | 2 +- Build/source/texk/kpathsea/man/Makefile.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Build/source/texk/kpathsea/man') diff --git a/Build/source/texk/kpathsea/man/Makefile.am b/Build/source/texk/kpathsea/man/Makefile.am index 647a5c80cdd..6a929764624 100644 --- a/Build/source/texk/kpathsea/man/Makefile.am +++ b/Build/source/texk/kpathsea/man/Makefile.am @@ -30,7 +30,7 @@ install-data-hook: file=`echo $$s | sed 's,:.*,,'`; \ rm -f $$link.1; \ echo "creating link '$$link.1' -> '$$file.1'"; \ - $(LN_S) $$file.1 $$link.1; \ + $(LN_S) $$file.1 $$link.1 || exit 1; \ done uninstall-hook: diff --git a/Build/source/texk/kpathsea/man/Makefile.in b/Build/source/texk/kpathsea/man/Makefile.in index 2660b9ed789..6b2c11bcb1a 100644 --- a/Build/source/texk/kpathsea/man/Makefile.in +++ b/Build/source/texk/kpathsea/man/Makefile.in @@ -506,7 +506,7 @@ install-data-hook: file=`echo $$s | sed 's,:.*,,'`; \ rm -f $$link.1; \ echo "creating link '$$link.1' -> '$$file.1'"; \ - $(LN_S) $$file.1 $$link.1; \ + $(LN_S) $$file.1 $$link.1 || exit 1; \ done uninstall-hook: -- cgit v1.2.3