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

sed not working while setting DB prefix #24

Closed
ScreamingDev opened this issue Dec 25, 2017 · 1 comment
Closed

sed not working while setting DB prefix #24

ScreamingDev opened this issue Dec 25, 2017 · 1 comment
Labels
Milestone

Comments

@ScreamingDev
Copy link

ScreamingDev commented Dec 25, 2017

Seems like you are in macOS

Copying tests/phpunit/test-uninstall.php...
Please enter the prefix that your plugin uses in the database (ex. my_plugin):
wp_
sed: can't read s/myplugin/wp_/: No such file or directory

Please use sed with every parameter (note the -e):

sed -i '' -e "s/myplugin/$prefix/" tests/phpunit/test-uninstall.php

Guessing like sed -i 's/foo/bar/' baz.php differs form OS to OS too much.

@JDGrimes JDGrimes added the bug label Dec 25, 2017
@JDGrimes
Copy link
Owner

Seems like you are in macOS

Guilty as charged. 😄

Would you like to submit a PR?

@JDGrimes JDGrimes added this to the 0.3.5 milestone Jan 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants