Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

throw error if no categorygrouporder file

Ed Plato883da30449a0
diff --git a/tasks/buildOptions.sh b/tasks/buildOptions.sh
index 0581a76f3..4bec0e7cc 100755
--- a/tasks/buildOptions.sh
+++ b/tasks/buildOptions.sh
@@ -122,6 +122,11 @@ fi
# "$BUILD_DIR/config/wv.json/collections.json"
# fi
+# Throw error if no categoryGroupOrder.json file present
+if [ ! -e "$BUILD_DIR/config/wv.json/categoryGroupOrder.json" ] ; then
+ die "config/wv.json/categoryGroupOrder.json does not exist"
+fi
+
# Run mergeConfig.py on all directories in /config
configs=$(ls "$BUILD_DIR/config")
for config in $configs; do