Skip to content

Commit

Permalink
updated export ALLSKY_HOME logic
Browse files Browse the repository at this point in the history
  • Loading branch information
EricClaeys authored Oct 6, 2021
1 parent f97a76a commit ae60e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion allsky.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ echo " ***** Starting AllSky *****"

if [ -z "${ALLSKY_HOME}" ]
then
export ALLSKY_HOME="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
export ALLSKY_HOME="$(realpath $(dirname "${BASH_ARGV0}")/..)"
fi

cd "${ALLSKY_HOME}"
Expand Down

0 comments on commit ae60e30

Please sign in to comment.