Page MenuHomePhabricator

[Nix] Fix whitespace quoting for path
ClosedPublic

Authored by jon on Oct 26 2022, 1:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jan 1, 5:44 PM
Unknown Object (File)
Wed, Jan 1, 5:44 PM
Unknown Object (File)
Wed, Jan 1, 5:43 PM
Unknown Object (File)
Wed, Jan 1, 5:35 PM
Unknown Object (File)
Wed, Jan 1, 4:38 PM
Unknown Object (File)
Fri, Dec 27, 12:10 PM
Unknown Object (File)
Tue, Dec 10, 6:37 AM
Unknown Object (File)
Nov 25 2024, 3:47 AM

Details

Summary

If a user has a path with whitespace, avoid having the
string split when passed to export command.

Test Plan
export PATH="/a b:$PATH"

nix develop

source ~/.cache/comm/path
# don't get error from export

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage