From 5d75d6decce11911ce5ca20c95ae0926e812143e Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Tue, 21 Dec 2021 11:17:12 -0500 Subject: Bugfixes --- ves-list.sh | 2 +- ves.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ves-list.sh b/ves-list.sh index 1b6c775..29844bf 100644 --- a/ves-list.sh +++ b/ves-list.sh @@ -1,6 +1,6 @@ #!/bin/sh -if [ -z $XDG_DATA_HOME ]; then +if [ -z ${XDG_DATA_HOME+x} ]; then ENV_DIR="$HOME/.local/share/ves/envs" else ENV_DIR="$XDG_DATA_HOME/ves/envs" diff --git a/ves.sh b/ves.sh index 0287a8a..e9755cd 100644 --- a/ves.sh +++ b/ves.sh @@ -1,6 +1,6 @@ #!/bin/sh ves() { - if [ -z "$VES_SCRIPTS_DIR" ]; then + if [ -z "${VES_SCRIPTS_DIR+x}" ]; then VES_BIN="$HOME/.local/bin/ves_scripts" else VES_BIN="$VES_SCRIPTS_DIR" -- cgit v1.2.3