We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 624133b commit 77c6ba6Copy full SHA for 77c6ba6
bin/codeflare
@@ -97,13 +97,9 @@ fi
97
export KUI_ELECTRON_HOME="${KUI_ELECTRON_HOME-$NODE}"
98
export CODEFLARE_HEADLESS_ZIP=$HEADLESS/../headless.zip
99
100
-SCRIPTDIR=$(cd $(dirname "$0") && pwd)
101
-if [ -d "$SCRIPTDIR"/../store ]; then
+if [ -d "$HEADLESS"/../../store ]; then
102
# development builds
103
- export GUIDEBOOK_STORE="$SCRIPTDIR"/../store
104
-elif [ -d "$SCRIPTDIR"/app/store ]; then
105
- # production builds
106
- export GUIDEBOOK_STORE="$SCRIPTDIR"/app/store
+ export GUIDEBOOK_STORE="$HEADLESS"/../../store
107
else
108
# otherwise, we can't find a local mirror, so pull directly from
109
# git (network transfers!)
0 commit comments