Skip to content
This repository was archived by the owner on Feb 16, 2026. It is now read-only.

Commit 5e50293

Browse files
committed
installer: fix SC2088 issues
1 parent 2c2f7fe commit 5e50293

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

install.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ install_amp_cli() {
286286

287287
# Setup global revenue command
288288
setup_global_command() {
289-
# Create ~/.local/bin if it doesn't exist
289+
# Create $HOME/.local/bin if it doesn't exist
290290
local local_bin_dir="$HOME/.local/bin"
291291
if [[ ! -d "$local_bin_dir" ]]; then
292292
mkdir -p "$local_bin_dir"
@@ -318,7 +318,7 @@ setup_global_command() {
318318
exit 1
319319
fi
320320

321-
# Check if ~/.local/bin is in PATH
321+
# Check if $HOME/.local/bin is in PATH
322322
if [[ ":$PATH:" != *":$local_bin_dir:"* ]]; then
323323
local shell_type
324324
shell_type=$(detect_shell)
@@ -335,14 +335,14 @@ setup_global_command() {
335335
# Add PATH export
336336
{
337337
echo ""
338-
echo "# Add ~/.local/bin to PATH"
338+
echo "# Add $HOME/.local/bin to PATH"
339339
echo "export PATH=\"\$HOME/.local/bin:\$PATH\""
340340
} >>"$profile_path"
341341

342-
print_success "Added ~/.local/bin to PATH in $(basename "$profile_path")"
342+
print_success "Added $HOME/.local/bin to PATH in $(basename "$profile_path")"
343343
source_shell_profile
344344
else
345-
print_success "~/.local/bin PATH export already exists in $(basename "$profile_path")"
345+
print_success "$HOME/.local/bin PATH export already exists in $(basename "$profile_path")"
346346
fi
347347
else
348348
print_success "$HOME/.local/bin is already in your PATH"

0 commit comments

Comments
 (0)