Skip to content

Commit

Permalink
prevent globbing and word splitting
Browse files Browse the repository at this point in the history
  • Loading branch information
mlsmaycon committed Jan 6, 2024
1 parent b4db92a commit c73066f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion infrastructure_files/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ if [[ "x-$NETBIRD_TURN_EXTERNAL_IP" == "x-" ]]; then
echo "unable to discover server's public IP"
fi
else
echo ${NETBIRD_TURN_EXTERNAL_IP}| egrep '([0-9]{1,3}\.){3}[0-9]{1,3}$' > /dev/null
echo ""${NETBIRD_TURN_EXTERNAL_IP}"| egrep '([0-9]{1,3}\.){3}[0-9]{1,3}$' > /dev/null
if [[ $? -eq 0 ]]; then
echo "using provided server's public IP"
TURN_EXTERNAL_IP_CONFIG="external-ip=$NETBIRD_TURN_EXTERNAL_IP"
Expand Down
2 changes: 1 addition & 1 deletion infrastructure_files/getting-started-with-zitadel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ get_turn_external_ip() {
if [[ "x-$IP" != "x-" ]]; then
TURN_EXTERNAL_IP_CONFIG="external-ip=$IP"
fi
echo $TURN_EXTERNAL_IP_CONFIG
echo "$TURN_EXTERNAL_IP_CONFIG"
}

initEnvironment() {
Expand Down

0 comments on commit c73066f

Please sign in to comment.