Fix unescaped backslash in string
String requires literal backslashes in it for bash-expansion to work properly. The expansion in question removes "/usr/local/bin" from "PATH" when sccache is invoked to prevent unwanted recursion.
This commit is contained in:
parent
b9b0cf3399
commit
b6301b6bd2
1 changed files with 1 additions and 1 deletions
|
@ -1167,7 +1167,7 @@ def setup_sccache(chroot: str):
|
|||
"""Sets up sccache for the chroot."""
|
||||
|
||||
sccache_script = """#!/usr/bin/env sh
|
||||
export PATH=${PATH/:\/usr\/local\/bin/}
|
||||
export PATH=${PATH/:\\/usr\\/local\\/bin/}
|
||||
/usr/bin/env sccache $(basename "$0") "$@"
|
||||
"""
|
||||
if (
|
||||
|
|
Loading…
Reference in a new issue