Trying to build a custom package and the build script doesn't think the directory exists

I'm trying to build a new package. Just to make sure I understand how things work I copied an existing package to a new folder in the packages directory. I'm trying to build it using build package and I get the error "$package_name seems to be a path but is not a directory". I can go into the directory, it shows up in ls, I can stat the directory, the directory has all the same permissions as the original, and the same owner and group.
1 Reply
zeb (ping me on replies)
Nevermind, solved! I included a slash at the end of the package name (cause bash autocomplete) and that slash changed the script's behavior, making it treat the name as a path. Don't include a slash in the package name.
Want results from more Discord servers?
Add your server