aboutsummaryrefslogtreecommitdiff
path: root/games/flightgear-aircraft/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/flightgear-aircraft/Makefile')
-rw-r--r--games/flightgear-aircraft/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/flightgear-aircraft/Makefile b/games/flightgear-aircraft/Makefile
index 8ab6ae8449b5..30b66fa53ba9 100644
--- a/games/flightgear-aircraft/Makefile
+++ b/games/flightgear-aircraft/Makefile
@@ -80,8 +80,8 @@ pre-install:
| ${SED} -e 's|^|@exec ${MKDIR} %D/share/flightgear/Aircraft/|' >> ${PLIST} && \
${FIND} * -type f | ${SORT} \
| ${SED} -e 's|^|%%DATADIR%%/|' >> ${PLIST} && \
- ${FIND} * -type d | ${SORT} -r \
- | ${SED} -e 's|^|@dirrm %%DATADIR%%/|' >> ${PLIST}
+ ${FIND} * -type d -empty | ${SORT} -r \
+ | ${SED} -e 's|^|@dir %%DATADIR%%/|' >> ${PLIST}
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}