mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-21 00:38:06 +00:00
packaging: Move repo_root_dir to lib.sh
This is used in several parts of the code, and can have a single declaration as part of the `lib.sh` file, which is already imported by all the places where it's used. Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
@@ -13,6 +13,8 @@ export PUSH_TO_REGISTRY="${PUSH_TO_REGISTRY:-"no"}"
|
||||
|
||||
this_script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
export repo_root_dir="$(cd "${this_script_dir}/../../../" && pwd)"
|
||||
|
||||
short_commit_length=10
|
||||
|
||||
hub_bin="hub-bin"
|
||||
|
Reference in New Issue
Block a user