diff options
| author | KunoiSayami <[email protected]> | 2022-10-25 13:10:14 +0800 |
|---|---|---|
| committer | KunoiSayami <[email protected]> | 2022-10-25 13:10:14 +0800 |
| commit | 978011b008721d66b12dd00f6fe552d39f7b4b70 (patch) | |
| tree | 77a3c3ae87d3c83131a21837efe01ef1729fc642 /repo/.hook/ffmpeg-cuda | |
| parent | 8aa2177d248e0a8d35ceb9355cc1d92f90a85aa0 (diff) | |
feat(script): Optimize hook and build script
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'repo/.hook/ffmpeg-cuda')
| -rwxr-xr-x | repo/.hook/ffmpeg-cuda | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
