Closed infracaninophile closed 8 years ago
Proposed patch: http://dpaste.com/2CXSDGW.txt
Dang that was fast. Let me test that.
Someone reported it to me in mail a few hours ago too ;)
Works like a charm.
Thanks. I'm going to verify with Jilles before releasing that it is proper.
AFAIR sh identifiers match '^[a-zA-Z][a-zA-Z0-9]*$' ie. any sequence of alphanum characters or underscores except that they can't start with a digit. Your code looks fine in that regard.
Yes, this won't have issues with starting with a digit since it is prefixing the result with _HASH_
since upgrading to poudriere-3.1.11_1 I'm getting a lot of errors like so:
Possibly because my Jail names are the same as the arch strings pkg(8) uses -- colons and all: