ports/63222: [patch] Remove useless use of cat 5/5
Michael Nottebrock
michaelnottebrock at gmx.net
Sun Feb 22 14:40:20 UTC 2004
The following reply was made to PR ports/63222; it has been noted by GNATS.
From: Michael Nottebrock <michaelnottebrock at gmx.net>
To: freebsd-gnats-submit at FreeBSD.org, q at uni.de
Cc:
Subject: Re: ports/63222: [patch] Remove useless use of cat 5/5
Date: Sun, 22 Feb 2004 15:38:18 +0100
--Boundary-02=_h7LOASDNutjWRvb
Content-Type: text/plain;
charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Impressive waste of time, way to go.
> =A0post-install:
> =A0=A0=A0=A0=A0=A0=A0=A0@ ${MKDIR} ${PREFIX}/share/postgresql ;\
> -=A0=A0=A0=A0=A0=A0=A0${CAT} ${FILESDIR}/post-install-notes ${PKGMESSAGE}=
|\
> -=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0${SED} "s|/usr/local|${PREF=
IX}|g" |\
> +=A0=A0=A0=A0=A0=A0=A0${SED} "s|/usr/local|${PREFIX}|g" ${FILESDIR}/post-=
install-notes \
> +=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0${PKGMESSAGE} |\
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0tee ${PREFIX}/share/postg=
resql/post-install-notes
I'd bet that "fix" is actually slower than the original.
=2D-=20
,_, | Michael Nottebrock | lofi at freebsd.org
(/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
\u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org
--Boundary-02=_h7LOASDNutjWRvb
Content-Type: application/pgp-signature
Content-Description: signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQBAOL7hXhc68WspdLARAt+xAJ9Tm3EiadAL8xRuoSeD8Pp9f+j2PACeLBb7
qrc1Sqr9vjcrVHEA7DgA7yE=
=Ckzw
-----END PGP SIGNATURE-----
--Boundary-02=_h7LOASDNutjWRvb--
More information about the freebsd-ports-bugs
mailing list