aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2025-10-13 05:48:13 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2025-10-13 06:33:50 +0000
commit420248a370dde84bafb550b71965db74dc80f88e (patch)
tree93733d6262eccaca4fffb242fae2c97a4266cc42
parent541233f3d9f8cf28ac4ee23aebbfe27fed996992 (diff)
misc/gemini-cli: Simplify Makefile
-rw-r--r--misc/gemini-cli/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/misc/gemini-cli/Makefile b/misc/gemini-cli/Makefile
index cdaeb40b4efd..511011671965 100644
--- a/misc/gemini-cli/Makefile
+++ b/misc/gemini-cli/Makefile
@@ -49,9 +49,7 @@ do-fetch:
${MV} node_modules/${PACKAGE_NAME} lib/node_modules/@google/ && \
${LN} -sf ../lib/node_modules/${PACKAGE_NAME}/dist/index.js bin/gemini && \
${RM} -rf node_modules package.json && \
- ${FIND} . -type f -exec ${TOUCH} -h -d 1970-01-01T00:00:00Z {} \; && \
- ${FIND} . -type d -exec ${TOUCH} -h -d 1970-01-01T00:00:00Z {} \; && \
- ${FIND} . -type l -exec ${TOUCH} -h -d 1970-01-01T00:00:00Z {} \; && \
+ ${FIND} ${WRKDIR} -and -exec ${TOUCH} -h -d 1970-01-01T00:00:00Z {} \; && \
cd ${WRKDIR} && ${FIND} ${PORTNAME}-${DISTVERSION} -print0 | LC_ALL=C ${SORT} -z | \
${TAR} czf ${DISTDIR}/${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} --format=bsdtar --gid 0 --uid 0 --options gzip:!timestamp --no-recursion --null -T - \
); fi