Skip to content

Commit

Permalink
Merge pull request #22 from abhgupta/abhgupta-dev
Browse files Browse the repository at this point in the history
Fixing bug 866413 - Replacing absolute urls for links to relative paths
  • Loading branch information
smarterclayton committed Feb 26, 2013
2 parents 1a3acfb + abec233 commit 8bb56ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .openshift/action_hooks/deploy
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ then
echo
echo "Database schema not found, importing 'wordpress.sql' schema."
echo
cat "$OPENSHIFT_REPO_DIR/.openshift/action_hooks/wordpress.sql" |sed s/"wordpress-dbvs.rhcloud.com"/"$OPENSHIFT_APP_DNS"/g > "$OPENSHIFT_REPO_DIR/.openshift/action_hooks/wordpress2.sql"
/usr/bin/mysql -u "$OPENSHIFT_MYSQL_DB_USERNAME" --password="$OPENSHIFT_MYSQL_DB_PASSWORD" -h "$OPENSHIFT_MYSQL_DB_HOST" -P "$OPENSHIFT_MYSQL_DB_PORT" "$OPENSHIFT_APP_NAME" < "$OPENSHIFT_REPO_DIR/.openshift/action_hooks/wordpress2.sql"
/usr/bin/mysql -u "$OPENSHIFT_MYSQL_DB_USERNAME" --password="$OPENSHIFT_MYSQL_DB_PASSWORD" -h "$OPENSHIFT_MYSQL_DB_HOST" -P "$OPENSHIFT_MYSQL_DB_PORT" "$OPENSHIFT_APP_NAME" < "$OPENSHIFT_REPO_DIR/.openshift/action_hooks/wordpress.sql"
echo
echo "done."
echo "=================================================="
Expand Down
7 changes: 4 additions & 3 deletions .openshift/action_hooks/wordpress.sql

Large diffs are not rendered by default.

0 comments on commit 8bb56ac

Please sign in to comment.