🧑‍💻 Fix and improve build_all_examples

This commit is contained in:
Scott Lahteine
2022-07-29 05:00:07 -05:00
parent 5ccaf1d233
commit 09cc5473b5
10 changed files with 90 additions and 58 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