diff options
author | kylo252 <[email protected]> | 2022-01-12 11:40:49 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2022-01-12 11:40:49 +0100 |
commit | 0afc4bfa097968cf8fd3d60a429e4d0ed05b3791 (patch) | |
tree | 9a330ea54028ca43d7f9167484f52ae67c83eb9c | |
parent | e9caf5a69a0c31adcfeeeee928ffe76ad6ba4ceb (diff) |
fix(installer): usernames can contain @ symbol (#2167)
-rwxr-xr-x | utils/installer/install_bin.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/installer/install_bin.sh b/utils/installer/install_bin.sh index 4c649b44..cda02473 100755 --- a/utils/installer/install_bin.sh +++ b/utils/installer/install_bin.sh @@ -24,9 +24,9 @@ function setup_shim() { cp "$src" "$dst" - sed -e s"@RUNTIME_DIR_VAR@\"${LUNARVIM_RUNTIME_DIR}\"@"g \ - -e s"@CONFIG_DIR_VAR@\"${LUNARVIM_CONFIG_DIR}\"@"g \ - -e s"@CACHE_DIR_VAR@\"${LUNARVIM_CACHE_DIR}\"@"g "$src" \ + sed -e s"#RUNTIME_DIR_VAR#\"${LUNARVIM_RUNTIME_DIR}\"#"g \ + -e s"#CONFIG_DIR_VAR#\"${LUNARVIM_CONFIG_DIR}\"#"g \ + -e s"#CACHE_DIR_VAR#\"${LUNARVIM_CACHE_DIR}\"#"g "$src" \ | tee "$dst" >/dev/null chmod u+x "$dst" |