From 06778a752bbc51208899dfbd1bdf86a55bac97d7 Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Thu, 22 Sep 2022 19:27:47 +0200 Subject: [PATCH] Removed invocations of srchead for new module --- newmodule | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/newmodule b/newmodule index 766ddca..f33e228 100755 --- a/newmodule +++ b/newmodule @@ -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