gaztec 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/gaztec-install +2 -0
- package/package.json +1 -1
package/gaztec-install
CHANGED
|
@@ -12,6 +12,7 @@ install_aztec() {
|
|
|
12
12
|
fi
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
AZTEC_VERSION=""
|
|
15
16
|
# go from the current dir to the root of the filesystem and find the first .gaztecrc file
|
|
16
17
|
dir=$(pwd)
|
|
17
18
|
while [[ $dir != "/" ]]; do
|
|
@@ -21,6 +22,7 @@ while [[ $dir != "/" ]]; do
|
|
|
21
22
|
fi
|
|
22
23
|
dir=$(dirname $dir)
|
|
23
24
|
done
|
|
25
|
+
# if AZTEC_VERSION is still empty, exit
|
|
24
26
|
if [[ -z "$AZTEC_VERSION" ]]; then
|
|
25
27
|
echo "No .gaztecrc file found in the current or parent directories starting from $(pwd)"
|
|
26
28
|
exit 1
|