Skip to content

Commit

Permalink
Fix local variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
oizo committed Nov 9, 2023
1 parent de7db43 commit 6b57f6d
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,22 @@ bootstrap() {
source ~/.bash_profile

# Run distribution specific bootstrap process
OS_NAME=`uname -s`
case $OS_NAME in
os_name=`uname -s`
case $os_name in
Darwin)
source ./bootstrap/macos;;
Linux)
DISTRIBUTION=$(lsb_release -si | tr '[:upper:]' '[:lower:]')
case $DISTRIBUTION in
distribution=$(lsb_release -si | tr '[:upper:]' '[:lower:]')
case $distribution in
ubuntu|linuxmint)
source ./bootstrap/debian;;
manjarolinux)
source ./bootstrap/arch;;
*)
echo "${DISTRIBUTION} is unsupported" >&2;;
echo "${distribution} is unsupported" >&2;;
esac;;
*)
echo "${OS_NAME} is unsupported" >&2;;
echo "${os_name} is unsupported" >&2;;
esac
}

Expand All @@ -62,7 +62,3 @@ else
bootstrap;
fi;
fi;
unset copyDotfiles;
unset bootstrap;


0 comments on commit 6b57f6d

Please sign in to comment.