mirror of
https://github.com/RasppleII/a2cloud.git
synced 2025-01-02 21:29:37 +00:00
ivan.sh now properly requires a2cSource to be set
Now a2cloud matches a2server in requiring that ivan.sh be run from a source tree. That'll always be true when running the installation using the approved methods, including the web install upgrade.
This commit is contained in:
parent
eb6ace7850
commit
6fb6a068e2
@ -6,13 +6,14 @@ adtProVersion="2.0.1"
|
|||||||
a2cScriptURL="https://raw.githubusercontent.com/RasppleII/a2cloud/master"
|
a2cScriptURL="https://raw.githubusercontent.com/RasppleII/a2cloud/master"
|
||||||
a2cBinaryURL="http://blocksfree.com/downloads"
|
a2cBinaryURL="http://blocksfree.com/downloads"
|
||||||
|
|
||||||
|
# Find the path of our source directory
|
||||||
a2cDevel="$( dirname "${BASH_SOURCE[0]}" )/.."
|
a2cDevel="$( dirname "${BASH_SOURCE[0]}" )/.."
|
||||||
if [[ -f "$a2cDevel/.a2cloud_source" ]]; then
|
pushd $a2cDevel >/dev/null
|
||||||
pushd $a2cDevel >/dev/null
|
a2cDevel="$PWD"
|
||||||
a2cDevel="$PWD"
|
popd >/dev/null
|
||||||
popd >/dev/null
|
if [[ ! -f "$a2cDevel/.a2cloud_source" ]]; then
|
||||||
else
|
printf "\na2cloud: cannot find a2cloud source directory in $a2cDevel.\n\n"
|
||||||
a2cDevel=
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
useExternalURL=1
|
useExternalURL=1
|
||||||
|
Loading…
Reference in New Issue
Block a user