fix illegal byte sequence on mac
@@ -65,7 +65,7 @@ readonly KNATIVE_DEFAULT_NAMESPACE="knative-eventing"
# This the namespace used to install and test Knative Eventing.
export SYSTEM_NAMESPACE
SYSTEM_NAMESPACE="${SYSTEM_NAMESPACE:-"knative-eventing-"$(head -c 128 < \
- /dev/urandom | tr -dc 'a-z0-9' | fold -w 10 | head -n 1)}"
+ /dev/urandom | LC_CTYPE=C tr -dc 'a-z0-9' | fold -w 10 | head -n 1)}"
# Latest release. If user does not supply this as a flag, the latest
# tagged release on the current branch will be used.
