Home :: Documentation :: Download :: Development :: Community :: Wiki :: Ports :: Bugs :: Links :: About
Welcome to CRUX bug tracking.
Tasklist

FS#315 - PKGMK_ROOT not being escaped

Attached to Project: CRUX
Opened by Lucas Hazel (nipuL) - Thursday, 26 June 2008, 02:48 GMT+2
Last edited by Tilman Sauerbeck (tilman) - Tuesday, 15 July 2008, 20:11 GMT+2
Task Type Bug Report
Category tools → pkgutils
Status New
Assigned To Lucas Hazel (nipuL)
Operating System CRUX
Severity Low
Priority Normal
Reported Version Development
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

I've found a few cases where PKGMK_ROOT needs to be quoted in case you have unescaped characters (eg, space) in your path.

http://6d84ac5bf08cf912.paste.se/
This task depends upon

Comment by Lucas Hazel (nipuL) - Thursday, 26 June 2008, 02:53 GMT+2
And a few more

http://a1f3a99e9e60df84.paste.se/

[EDIT]

Still not quite working, I can't get the grep to work in strip_files, and it looks like there are still a few more places where it will need to be escaped.
Comment by Lucas Hazel (nipuL) - Thursday, 26 June 2008, 05:38 GMT+2
I'm sure it's not perfect, but here's one that works. I had to single quote the FILTER variable then eval it when called, this gets the PKGMK_ROOT variable to be passed as a quoted string.

http://47be56a2f08c1d99.paste.se/

I'll test the effect of spaces on PKGMK_SOURCE_DIR, etc tonight.

Loading...