diff --git a/deployment-script.sh b/deployment-script.sh index 3f5c494..f92a8d6 100644 --- a/deployment-script.sh +++ b/deployment-script.sh @@ -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 -