hlashbrooke / WordPress-Plugin-Template

A robust code template for creating a standards-compliant WordPress plugin.
https://hughlashbrooke.com/
GNU General Public License v2.0
1.03k stars 329 forks source link

Doesn't install in given directory #28

Open Vitzkrieg opened 9 years ago

Vitzkrieg commented 9 years ago

When I run the shell script, it replaces the template folder with the new plugin files instead of creating them in the given directory. I am on Windows 7 64 bit and the general directory path format I gave is: D:\folder1\folder2\folderr3\plugin-name

What is the correct format of the directory path to use? I have no doubt this is user error. I just need to know what I am doing wrong.

cornelRaiu commented 4 years ago

I know it is a very old issue but I had the same problem when I ran the .sh script from bash on my Win 10.

The only way I managed to get it to work was to use relative paths. So something like this:

../../whatever/the/directory/was

Maybe this will help someone else :)