diff --git a/deployment-script.sh b/deployment-script.sh index 32bd84a..8d7931c 100644 --- a/deployment-script.sh +++ b/deployment-script.sh @@ -6,12 +6,12 @@ echo "Deployment script for repository \"web-deployment\" #activate ** globs if [ -n "`shopt globstar | grep off`" ]; then shopt -s globstar; fi #remove READMEs -rm ./threadr/**/README.md +ßrm ./threadr/**/README.md #run the code variable replacement -echo -n "`find -name "*.php" -or -name "*.html" -or -name "*.css" | sed 's/^/python variable_grabbler.py /;s/$/ variable_grabbler.pass0.json/'`" | bash - -echo -n "`find -name "*.php" -or -name "*.html" -or -name "*.css" | sed 's/^/python variable_grabbler.py /;s/$/ variable_grabbler.pass1.json/'`" | bash - -echo -n "`find -name "*.php" -or -name "*.html" -or -name "*.css" | sed 's/^/python variable_grabbler.py /;s/$/ variable_grabbler.pass2.json/'`" | bash - +echo -n "`find -name "*.php" -or -name "*.html" -or -name "*.css" -or -name "*.svg" | sed 's/^/python variable_grabbler.py /;s/$/ variable_grabbler.pass0.json/'`" | bash - +echo -n "`find -name "*.php" -or -name "*.html" -or -name "*.css" -or -name "*.svg" | sed 's/^/python variable_grabbler.py /;s/$/ variable_grabbler.pass1.json/'`" | bash - +echo -n "`find -name "*.php" -or -name "*.html" -or -name "*.css" -or -name "*.svg" | sed 's/^/python variable_grabbler.py /;s/$/ variable_grabbler.pass2.json/'`" | bash - #the run-once section echo "Checking run-once script..."