[hackers] [svkbd][PATCH] Force installing executable

From: <suckless_AT_jochen.sprickerhof.de>
Date: Thu, 25 Feb 2021 17:08:23 +0100

From: Jochen Sprickerhof <git_AT_jochen.sprickerhof.de>

So we don't fail if it is executed at the same time.
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 076c8b0..e82704e 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -50,7 +50,7 @@ dist:
 
 install: all
 	mkdir -p ${DESTDIR}${PREFIX}/bin
-	cp ${NAME}-${LAYOUT} ${DESTDIR}${PREFIX}/bin
+	cp -f ${NAME}-${LAYOUT} ${DESTDIR}${PREFIX}/bin
 	chmod 755 ${DESTDIR}${PREFIX}/bin/${NAME}-${LAYOUT}
 	mkdir -p "${DESTDIR}${MANPREFIX}/man1"
 	sed "s/VERSION/${VERSION}/g" < ${MAN1} > ${DESTDIR}${MANPREFIX}/man1/${MAN1}
-- 
2.30.1
Received on Thu Feb 25 2021 - 17:08:23 CET

This archive was generated by hypermail 2.3.0 : Fri Feb 26 2021 - 12:48:32 CET