trying to make the old command work with new variable grabbler

master
BodgeMaster 2021-09-08 07:50:47 +02:00
parent 3dfae191ab
commit a4323d0526
1 changed files with 1 additions and 2 deletions

View File

@ -9,8 +9,7 @@ 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 -
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/^/file=/;s/$/\; python3 macros\/pass0\*.json $file > $file/'`" | bash -
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 -