Skip to content

Commit

Permalink
Merge pull request #148 from OpenVoiceOS/fix/shell_lint_pr147
Browse files Browse the repository at this point in the history
[shell] Fix linting due to PR #147
  • Loading branch information
goldyfruit authored Sep 16, 2024
2 parents ab513c6 + 5f40263 commit 647d8bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ if [ -n "$SUDO_USER" ]; then
else
export RUN_AS=$USER
fi
export RUN_AS_HOME=$(eval echo ~"$RUN_AS")
RUN_AS_HOME=$(eval echo ~"$RUN_AS")
export RUN_AS_HOME

# Check for git command to be installed
if ! command -v git &>/dev/null; then
Expand Down
3 changes: 2 additions & 1 deletion utils/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ function detect_user() {
export RUN_AS="$USER"
export RUN_AS_UID="$EUID"
fi
export RUN_AS_HOME=$(eval echo ~"$RUN_AS")
RUN_AS_HOME=$(eval echo ~"$RUN_AS")
export RUN_AS_HOME
export VENV_PATH="${RUN_AS_HOME}/.venvs/${INSTALLER_VENV_NAME}"
}

Expand Down

0 comments on commit 647d8bb

Please sign in to comment.