From 978011b008721d66b12dd00f6fe552d39f7b4b70 Mon Sep 17 00:00:00 2001 From: KunoiSayami Date: Tue, 25 Oct 2022 13:10:14 +0800 Subject: feat(script): Optimize hook and build script Signed-off-by: KunoiSayami --- repo/.hook/ffmpeg-cuda | 1 + 1 file changed, 1 insertion(+) (limited to 'repo/.hook/ffmpeg-cuda') diff --git a/repo/.hook/ffmpeg-cuda b/repo/.hook/ffmpeg-cuda index 6871a1d..4c0b6e5 100755 --- a/repo/.hook/ffmpeg-cuda +++ b/repo/.hook/ffmpeg-cuda @@ -1,3 +1,4 @@ #!/bin/bash +grep "make -j" PKGBUILD && exit sed -i 's/make$/make -j \$\(nproc\)\n/g' PKGBUILD sed -i 's/make /make -j \$\(nproc\) /g' PKGBUILD \ No newline at end of file -- cgit v1.3.1