refactor(setup.sh): Use double-quotes and double bracket conditional compound

pull/123/head
Dominic Giglio 4 years ago committed by Joseph Werle
parent 37008f0560
commit 8e9e6e96f4

@ -61,7 +61,7 @@ setup () {
## make targets
BIN="bpkg"
if [ -z "$PREFIX" ]; then
if [ $USER == 'root' ]; then
if [[ $USER == "root" ]]; then
PREFIX="/usr/local"
else
PREFIX="$HOME/.local"

Loading…
Cancel
Save