testing new variable grabbler

master
BodgeMaster 2021-09-08 07:46:28 +02:00
parent 9592c279ce
commit 3dfae191ab
1 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,8 @@ if [ -n "`shopt globstar | grep off`" ]; then shopt -s globstar; fi
rm ./threadr/**/README.md
#run the macro handler
echo "`find -name "*.php" -or -name "*.html" -or -name "*.css" -or -name "*.svg" | sed 's/^/python variable_grabbler.py.old /;s/$/ macros\/pass0\*.json/'`" | bash -
#echo "`find -name "*.php" -or -name "*.html" -or -name "*.css" -or -name "*.svg" | sed 's/^/python variable_grabbler.py.old /;s/$/ macros\/pass0\*.json/'`" | bash -
find -name "*.php" -or -name "*.html" -or -name "*.css" -or -name "*.svg" -exec python3 variable_grabbler.py macros/pass0*.json {} \> {} \;
echo "`find -name "*.php" -or -name "*.html" -or -name "*.css" -or -name "*.svg" | sed 's/^/python variable_grabbler.py.old /;s/$/ macros\/pass1\*.json/'`" | bash -
echo "`find -name "*.php" -or -name "*.html" -or -name "*.css" -or -name "*.svg" | sed 's/^/python variable_grabbler.py.old /;s/$/ macros\/pass2\*.json/'`" | bash -
echo "`find -name "*.php" -or -name "*.html" -or -name "*.css" -or -name "*.svg" | sed 's/^/python variable_grabbler.py.old /;s/$/ macros\/pass3\*.json/'`" | bash -