summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorheinz <heinz>2004-05-23 15:09:06 +0000
committerheinz <heinz>2004-05-23 15:09:06 +0000
commit5ba3b7582449bad0d219b531bce4df344b74dc8c (patch)
treeec9c3459f3d75800c35364c49789525088b9ad3c /x11
parentd95ddf39a2e52c3815559260cc5b83800479ed46 (diff)
downloadpkgsrc-5ba3b7582449bad0d219b531bce4df344b74dc8c.tar.gz
Use option "-r" instead of "-e" for the '[' command since this is not
portable to some operating systems (eg UnixWare or IRIX 5).
Diffstat (limited to 'x11')
-rw-r--r--x11/xdm3d/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/x11/xdm3d/Makefile b/x11/xdm3d/Makefile
index c3f4cd42b65..012ce121c42 100644
--- a/x11/xdm3d/Makefile
+++ b/x11/xdm3d/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2004/01/20 12:28:28 agc Exp $
+# $NetBSD: Makefile,v 1.10 2004/05/23 15:09:06 heinz Exp $
DISTNAME= xdm3d-1.0
CATEGORIES= x11
@@ -22,10 +22,10 @@ do-install:
${INSTALL_DATA} ${X11BASE}/lib/X11/xdm/Xaccess ${PREFIX}/share/xdm3d
${INSTALL_DATA} ${X11BASE}/lib/X11/xdm/Xservers ${PREFIX}/share/xdm3d
${INSTALL_DATA} ${X11BASE}/lib/X11/xdm/Xsession ${PREFIX}/share/xdm3d
- @if [ -e ${X11BASE}/lib/X11/xdm/Xsetup ]; then \
+ @if [ -r ${X11BASE}/lib/X11/xdm/Xsetup ]; then \
${INSTALL_DATA} ${X11BASE}/lib/X11/xdm/Xsetup ${PREFIX}/share/xdm3d; \
sedexpr='-e s|^share/xdm3d/Xsetup_0$$|@comment\ &|'; \
- elif [ -e ${X11BASE}/lib/X11/xdm/Xsetup_0 ]; then \
+ elif [ -r ${X11BASE}/lib/X11/xdm/Xsetup_0 ]; then \
${INSTALL_DATA} ${X11BASE}/lib/X11/xdm/Xsetup_0 ${PREFIX}/share/xdm3d; \
sedexpr='-e s|^share/xdm3d/Xsetup$$|@comment\ &|'; \
fi; \