aboutsummaryrefslogtreecommitdiff
path: root/repo/.hook/ffmpeg-cuda
diff options
context:
space:
mode:
Diffstat (limited to 'repo/.hook/ffmpeg-cuda')
-rwxr-xr-xrepo/.hook/ffmpeg-cuda1
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