Normalize ROOT naming and calculation in hack/

This commit is contained in:
aram price
2020-08-12 08:34:17 -07:00
parent 031129778e
commit e48d9faf27
7 changed files with 11 additions and 15 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
# Copyright 2020 VMware, Inc.
# SPDX-License-Identifier: Apache-2.0
set -euo pipefail
ROOT="$(realpath "$(dirname "${BASH_SOURCE[0]}")/..")"
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
"$ROOT/hack/module.sh" tidy
"$ROOT/hack/update-codegen.sh"