git: c2dfc2d55237 - main - shells/modernish: Use INSTALL_DATA instead of MV

Mateusz Piotrowski 0mp at FreeBSD.org
Mon Apr 26 14:06:48 UTC 2021


The branch main has been updated by 0mp:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c2dfc2d552371266c482980d632ddfdb92f02831

commit c2dfc2d552371266c482980d632ddfdb92f02831
Author:     Mateusz Piotrowski <0mp at FreeBSD.org>
AuthorDate: 2021-04-26 13:53:26 +0000
Commit:     Mateusz Piotrowski <0mp at FreeBSD.org>
CommitDate: 2021-04-26 13:57:12 +0000

    shells/modernish: Use INSTALL_DATA instead of MV
    
    Reported by:    mat
---
 shells/modernish/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shells/modernish/Makefile b/shells/modernish/Makefile
index 096f3e312a7c..1a708410c92c 100644
--- a/shells/modernish/Makefile
+++ b/shells/modernish/Makefile
@@ -23,7 +23,7 @@ do-install:
 	cd ${WRKSRC} && \
 	${SETENV} ${MAKE_ENV} ${SH} -x ./install.sh -d ${PREFIX} -D ${STAGEDIR} -n -s ${SH}
 
-	${MV} ${WRKDIR}/BUG_DEVTTY.t ${STAGEDIR}${PREFIX}/lib/modernish/cap/BUG_DEVTTY.t
+	${INSTALL_DATA} ${WRKDIR}/BUG_DEVTTY.t ${STAGEDIR}${PREFIX}/lib/modernish/cap/BUG_DEVTTY.t
 
 	${RM} ${STAGEDIR}${DOCSDIR}/LICENSE
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR:H}


More information about the dev-commits-ports-all mailing list