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

Make status_check.sh path-agnostic

parent e4949ef2
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env bash
THISDIR=`dirname $0`;
#echo "dir: $THISDIR";
# THISPATH=`realpath $0`;
# echo "path: $THISPATH";
if [[ -z $1 ]]; then
echo; echo "Usage: $0 <env>";
echo; echo;
......@@ -9,7 +15,7 @@
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;
parallel --delay 0.1 "./homepage_status.sh {} $1" ::: $SITES
parallel --delay 0.1 "$THISDIR/homepage_status.sh {} $1" ::: $SITES
......
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