FreeBSD packaging: make sure to clean up cruft after in-place sed replacement.
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Tue, 10 Mar 2009 06:14:36 +0000 (02:14 -0400)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Tue, 10 Mar 2009 06:14:36 +0000 (02:14 -0400)
packaging/freebsd/security/monkeysphere/Makefile

index b6cacaf91e217a1f1c4461917d2e59b4c2f04e6c..f2484b554a137ff4985303fb183c5d1315de0c08 100644 (file)
@@ -51,6 +51,8 @@ post-patch:
          ${WRKSRC}/src/monkeysphere-host \
          ${WRKSRC}/src/monkeysphere-authentication \
          ${WRKSRC}/src/monkeysphere
+       # and clean up cruft from the sed replacements:
+       find ${WRKSRC} -name '*.bak' -delete
 
 post-install:
        @if [ ! -f ${PREFIX}/etc/monkeysphere/monkeysphere.conf ]; then \