threadr.lostcave.ddnss.de/deployment-script.sh

12 lines
659 B
Bash
Executable File

#!/bin/bash
echo "Deployment script for repository \"web-deployment\"
`date`
=============================================================================="
echo -n "`find -name "*.php" -or -name "*.html" | sed 's/^/python variable_grabbler.py /;s/$/ variable_grabbler.pass0.json/'`" | bash -
echo -n "`find -name "*.php" -or -name "*.html" | sed 's/^/python variable_grabbler.py /;s/$/ variable_grabbler.pass1.json/'`" | bash -
echo -n "`find -name "*.php" -or -name "*.html" | sed 's/^/python variable_grabbler.py /;s/$/ variable_grabbler.pass2.json/'`" | bash -
echo "==============================================================================
Done."