From b5a44fbb7b1b5c58d8e08c821cbb6265bf50f74b Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 4 May 2024 18:00:33 +0200 Subject: [PATCH] wwwroot copy script. --- _tools/pdocs/cp_www.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 _tools/pdocs/cp_www.sh diff --git a/_tools/pdocs/cp_www.sh b/_tools/pdocs/cp_www.sh new file mode 100755 index 0000000..3f2d9b5 --- /dev/null +++ b/_tools/pdocs/cp_www.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +rm -Rf www + +mkdir www +cd www +touch .gdignore + +cd .. + +cd .. +cd .. + + +for f in * +do + if [[ "$f" == "_tools"* ]]; then + continue + fi + + echo "copying $f" + cp -R "$f" "_tools/pdocs/www/" +done \ No newline at end of file