From ade319fe8769e8e43c11354a17e91a658bac6be5 Mon Sep 17 00:00:00 2001 From: Stephan Lachnit Date: Mon, 28 Sep 2020 22:30:00 +0200 Subject: [PATCH] ensure minihook is not in source tarballs Signed-off-by: Stephan Lachnit --- build-source.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build-source.sh b/build-source.sh index 7030e1af..5636d594 100755 --- a/build-source.sh +++ b/build-source.sh @@ -5,6 +5,8 @@ NAME=MangoHud-$VERSION-Source # create archive via git git archive HEAD --format=tar --prefix=${NAME}/ --output=${NAME}.tar +# remove unused minihook from source tarball +tar -f ${NAME}.tar --delete ${NAME}/modules # create DFSG compliant version which excludes NVML cp ${NAME}.tar ${NAME}-DFSG.tar tar -f ${NAME}-DFSG.tar --delete ${NAME}/include/nvml.h