Skip to content

Commit

Permalink
dev: ensure dev.env is posix compatible
Browse files Browse the repository at this point in the history
the '==' operator is not posix; you're supposed to use a single '='

Signed-off-by: Vicent Marti <[email protected]>
  • Loading branch information
vmg committed Feb 10, 2021
1 parent e04aa3f commit cf525df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dev.env
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# No shebang line as this script is sourced from an external shell.

# Copyright 2019 The Vitess Authors.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand All @@ -34,6 +34,6 @@ export PATH

# According to https://github.com/etcd-io/etcd/blob/a621d807f061e1dd635033a8d6bc261461429e27/Documentation/op-guide/supported-platform.md,
# currently, etcd is unstable on arm64, so ETCD_UNSUPPORTED_ARCH should be set.
if [ "$(uname -m)" == aarch64 ]; then
if [ "$(uname -m)" = aarch64 ]; then
export ETCD_UNSUPPORTED_ARCH=arm64
fi

0 comments on commit cf525df

Please sign in to comment.