This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Exit this bash script if any statement returns a non-true return value (same as: set -e) | |
set -o errexit | |
if [ -z "$1" ]; then | |
echo | |
echo "ERROR: Must pass parameter of absolute or relative path to directory where Wordpress is to be installed." | |
echo "USAGE: $0 path/to/public/html/dir" | |
echo |