Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unary operator expected #1

Closed
pothi opened this issue May 19, 2014 · 0 comments
Closed

unary operator expected #1

pothi opened this issue May 19, 2014 · 0 comments

Comments

@pothi
Copy link
Owner

pothi commented May 19, 2014

Debug output...

+ DEFAULT_SITE=delta9seattle.org
+ BACKUP_PATH=/home/delta9seattle_sftp/Backup/databases/
+ '[' == '' ']'
./db-backup.sh: line 15: [: ==: unary operator expected
+ SITE_NAME=
+ '[' -f /home/delta9seattle_sftp/sites//wp-config.php ']'
+ WP_CONFIG_PATH=/home/delta9seattle_sftp/sites//wordpress/wp-config.php
++ sed 's/[()'\'',;]/ /g' /home/delta9seattle_sftp/sites//wordpress/wp-config.php
++ awk '{print $3}'
sed: can't read /home/delta9seattle_sftp/sites//wordpress/wp-config.php: No such file or directory
++ grep DB_PASSWORD
+ WPPASS=
++ sed 's/[()'\'',;]/ /g' /home/delta9seattle_sftp/sites//wordpress/wp-config.php
++ awk '{print $3}'
sed: can't read /home/delta9seattle_sftp/sites//wordpress/wp-config.php: No such file or directory
++ grep DB_USER
+ WPUSER=
++ sed 's/[()'\'',;]/ /g' /home/delta9seattle_sftp/sites//wordpress/wp-config.php
++ awk '{print $3}'
sed: can't read /home/delta9seattle_sftp/sites//wordpress/wp-config.php: No such file or directory
++ grep DB_NAME
+ WPDB=
+ mysqldump --add-drop-table -u -p
+ gzip
++ date +%F_%H-%M-%S
@pothi pothi closed this as completed in 5fb6a7f May 19, 2014
pothi added a commit that referenced this issue May 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant