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)
Fri, Dec 27, 12:10 PM
Unknown Object (File)
Tue, Dec 10, 6:37 AM
Unknown Object (File)
Nov 25 2024, 3:47 AM
Unknown Object (File)
Nov 24 2024, 11:40 AM
Unknown Object (File)
Nov 24 2024, 11:40 AM
Unknown Object (File)
Nov 24 2024, 11:40 AM
Unknown Object (File)
Oct 26 2024, 9:41 PM
Unknown Object (File)
Oct 26 2024, 9:41 PM

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
Lint Not Applicable
Unit
Tests Not Applicable