Skip to content
Snippets Groups Projects
Commit ca67d272 authored by Brian Weaver's avatar Brian Weaver
Browse files

Fix login_all.sh

parent 2f751382
No related branches found
No related tags found
No related merge requests found
......@@ -2,15 +2,15 @@
pwd
if [[ ! -r ./scripts/child_site_list.txt ]]; then
echo;
echo " ./scripts/child_site_list.txt is missing or not readable.";
echo;
echo " Make sure you're executing this script from a location from which";
echo " that relative path is available.";
echo;
exit 1;
fi
# if [[ ! -r ./scripts/child_site_list.txt ]]; then
# echo;
# echo " ./scripts/child_site_list.txt is missing or not readable.";
# echo;
# echo " Make sure you're executing this script from a location from which";
# echo " that relative path is available.";
# echo;
# exit 1;
# fi
COOKIE_DIR="`realpath ~/.curl_cookies`";
#echo "Cookie dir: $COOKIE_DIR";
......@@ -48,7 +48,10 @@
CURL_COMMAND="curl -ksSL -c $COOKIE_JAR -b $COOKIE_JAR -w '%{http_code} %{url_effective}' -o /dev/null";
for site in `cat scripts/child_site_list.txt`; do
SITES=$(terminus org:site:list ohio-state-arts-and-sciences --upstream=b9baf7af-eb2c-4db5-81e6-32d3d9042572 --tag=D8 --fields=name --format=string | sort);
echo $SITES;
for site in $SITES; do
ULI_CMD="terminus remote:drush ${site}.${ENV} uli";
#echo "ULI_CMD: $ULI_CMD";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment