Skip to content
Permalink
Browse files

gac: fix overlayroot detection for the seed scenario

  • Loading branch information...
deepfire committed Apr 14, 2019
1 parent 2e50343 commit ac6a71a348c2ea48e3bd0b6a3444724c4da135fe
Showing with 2 additions and 2 deletions.
  1. +2 −2 gac.sh
4 gac.sh
@@ -73,8 +73,8 @@ cmd=${1:-doit}; test -n "$1"; shift
### Overlay root detection: ${PWD}, $(dirname $self)
###
gacroot="$(realpath $0 | xargs dirname | xargs echo)"
if test -d "${PWD}/clusters"
then overlayroot="${PWD}"
if test -d "$(dirname $0)/clusters"
then overlayroot="$(dirname $0)"
else overlayroot="${gacroot}"
fi

0 comments on commit ac6a71a

Please sign in to comment.
You can’t perform that action at this time.