Skip to content

Commit cf525df

Browse files
committed
dev: ensure dev.env is posix compatible
the '==' operator is not posix; you're supposed to use a single '=' Signed-off-by: Vicent Marti <[email protected]>
1 parent e04aa3f commit cf525df

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dev.env

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# No shebang line as this script is sourced from an external shell.
22

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

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

0 commit comments

Comments
 (0)