mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-10-26 23:24:58 +03:00
Use process substitution to avoid an explicit temporary file
This commit is contained in:
parent
8fc07485f4
commit
674d8f9650
@ -1,5 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
E=/tmp/exclude-from-cloc
|
cloc --exclude-list-file <(echo -e 'kitty/wcwidth9.h\nkitty/unicode-data.h\nkitty/gl.h\nkitty/glfw.c\nkitty/glfw.h') kitty
|
||||||
echo -e 'kitty/wcwidth9.h\nkitty/unicode-data.h\nkitty/gl.h\nkitty/glfw.c\nkitty/glfw.h' > $E
|
|
||||||
cloc --exclude-list-file=$E kitty
|
|
||||||
rm $E
|
|
||||||
|
Loading…
Reference in New Issue
Block a user