4
0
mirror of https://github.com/nerfstudio-project/nerfstudio.git synced 2026-11-11 02:24:38 +08:00
nerfstudio/scripts/licensing/license_headers.sh
evonneng 5433f831ac
add licensing headers (#27)
* add licensing headers

* add licensing to run actions

* rerun headers file

* remove trailing white spaces
2022-06-08 13:31:13 -07:00

9 lines
165 B
Bash
Executable File

#!/bin/bash
for i in $(find pyrad/ -name '*.py');
do
if ! grep -q Copyright $i
then
cat scripts/licensing/copyright.txt $i >$i.new && mv $i.new $i
fi
done