summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-11-29 01:57:00 +0000
committerMike Frysinger <vapier@gentoo.org>2006-11-29 01:57:00 +0000
commit1a2f8f112be02a11f7adb0e71b96f2193dda48e0 (patch)
tree4304c7f851f137c1ecab38de7d0f40bd74990cda /sys-apps/setarch/files
parentuse emake (diff)
downloadgentoo-2-1a2f8f112be02a11f7adb0e71b96f2193dda48e0.tar.gz
gentoo-2-1a2f8f112be02a11f7adb0e71b96f2193dda48e0.tar.bz2
gentoo-2-1a2f8f112be02a11f7adb0e71b96f2193dda48e0.zip
Fix manpage symlink error #156530 by James Browning.
(Portage version: 2.1.2_rc2-r2)
Diffstat (limited to 'sys-apps/setarch/files')
-rw-r--r--sys-apps/setarch/files/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-apps/setarch/files/Makefile b/sys-apps/setarch/files/Makefile
index 81193b8f8931..fc97461702e6 100644
--- a/sys-apps/setarch/files/Makefile
+++ b/sys-apps/setarch/files/Makefile
@@ -16,8 +16,8 @@ install: setarch
install -m755 setarch $(DESTDIR)$(bindir)
install -m644 setarch.8 $(DESTDIR)$(mandir)/man8
for x in `cat links` ; do \
- $(LN_S) setarch $(DESTDIR)$(bindir)/$$x || exit 1 ; \
- $(LN_S) setarch.8 $(DESTDIR)$(mandir)/man8/$$x || exit 1 ; \
+ $(LN_S) setarch $(DESTDIR)$(bindir)/$$x || exit $$? ; \
+ $(LN_S) setarch.8 $(DESTDIR)$(mandir)/man8/$$x.8 || exit $$? ; \
done
clean: