diff --git a/scripts/login_all.sh b/scripts/login_all.sh index a8d18740a08da0595ee2e96a4a5b6b503251148a..bb9208f8ea1a6ba2b508d5788459f2f8d08a2b4e 100644 --- a/scripts/login_all.sh +++ b/scripts/login_all.sh @@ -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";