diff options
author | heinz <heinz@pkgsrc.org> | 2004-05-23 15:09:06 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2004-05-23 15:09:06 +0000 |
commit | ab369beb4f86166e2039fd9f12aecf1cab12a5d7 (patch) | |
tree | ec9c3459f3d75800c35364c49789525088b9ad3c /x11/xdm3d/Makefile | |
parent | 2b4fdcd185d271070f023445fc3782ab754f885b (diff) | |
download | pkgsrc-ab369beb4f86166e2039fd9f12aecf1cab12a5d7.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/xdm3d/Makefile')
-rw-r--r-- | x11/xdm3d/Makefile | 6 |
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; \ |