Removed invocations of srchead for new module

This commit is contained in:
Bob Polis 2022-09-22 19:27:47 +02:00
parent 725e6403e6
commit 06778a752b

View File

@ -1,7 +1,5 @@
#!/bin/sh
mkdir modules/$1
cp skeleton/Makefile modules/$1/
srchead screensaver-modules/$1/$1.hpp > modules/$1/$1.hpp
sed -e "s/{MODULE}/$1/" skeleton/MODULE.hpp >> modules/$1/$1.hpp
srchead screensaver-modules/$1/$1.cpp > modules/$1/$1.cpp
sed -e "s/{MODULE}/$1/" skeleton/MODULE.cpp >> modules/$1/$1.cpp
sed -e "s/{MODULE}/$1/" skeleton/MODULE.hpp > modules/$1/$1.hpp
sed -e "s/{MODULE}/$1/" skeleton/MODULE.cpp > modules/$1/$1.cpp