commit 0ea4559388dee3ebdb8224b17433385730f7c625
Author:     Jochen Sprickerhof <[email protected]>
AuthorDate: Thu Feb 25 17:28:16 2021 +0100
Commit:     Hiltjo Posthuma <[email protected]>
CommitDate: Thu Feb 25 19:16:09 2021 +0100

    Force installing executable
    
    So we don't fail if it is executed at the same time.

diff --git a/Makefile b/Makefile
index 076c8b0..e82704e 100644
--- a/Makefile
+++ b/Makefile
@@ -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}

Reply via email to