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

From: Jochen Sprickerhof <suckless_AT_jochen.sprickerhof.de>
Date: Thu, 25 Feb 2021 17:28:16 +0100

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:28:16 CET

This archive was generated by hypermail 2.3.0 : Thu Feb 25 2021 - 18:00:35 CET