🧑‍💻 Fix and improve build_all_examples

This commit is contained in:
Scott Lahteine 2022-07-22 19:30:29 -05:00
parent edeea5a6fb
commit 3b4c759872
7 changed files with 117 additions and 23 deletions

View file

@ -17,7 +17,7 @@ BRANCH=${INFO[5]}
opensite() {
URL="http://127.0.0.1:4000/"
OPEN=$(echo $(which gnome-open xdg-open open) | awk '{ print $1 }')
OPEN=$( which gnome-open xdg-open open | head -n1 )
if [ -z "$OPEN" ]; then
echo "Can't find a tool to open the URL:"
echo $URL