Replace comments patch with an AWK script
[khome.git] / Makefile
index 4e7ab3c..cfec937 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -73,7 +73,7 @@ pkgs_void:
 
 pkgs_void_update:
        xbps-query -m | awk -F - '{sub("-" $$NF "$$", ""); print}' | sort -u > pkgs-void.list
-       patch pkgs-void.list pkgs-void.list.comments.patch
+       (echo '#'; ./patch-comments pkgs-void.list.comments pkgs-void.list) | sponge pkgs-void.list
 
 #
 # Golang
This page took 0.025992 seconds and 4 git commands to generate.