summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/grail/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/grail/Makefile b/www/grail/Makefile
index 2ae6432b6aa9..18da12b09965 100644
--- a/www/grail/Makefile
+++ b/www/grail/Makefile
@@ -21,8 +21,8 @@ WRKSRC= ${WRKDIR}/${PKGNAME}
GRAILSUBDIR= share/grail
GRAILDIR= ${PREFIX}/${GRAILSUBDIR}
-DIRS_CMD= ${CAT} ${PLIST} | ${GREP} '^@dirrm' | ${SED} 's,@dirrm ,,'
-FILES_CMD= ${CAT} ${PLIST} | ${GREP} -v '^@' | ${SED} 's,${GRAILSUBDIR}/,,'
+DIRS_CMD= ${SED} -e '/^@dirrm/bok' -e 'D' -e ':ok' -e 's,@dirrm ,,' < ${PLIST}
+FILES_CMD= ${SED} -e '/^share\//bok' -e 'D' -e ':ok' -e 's,${GRAILSUBDIR}/,,' < ${PLIST}
FIND?=find
PYTHON?=python