From 990e4bd0fc8699f40abc85359b4c2608fe20396d Mon Sep 17 00:00:00 2001 From: Gera Shegalov Date: Tue, 30 Apr 2024 16:17:11 -0700 Subject: [PATCH] Substitute whoami for $USER (#10754) Related to NVIDIA/spark-rapids-jni#1843 Signed-off-by: Gera Shegalov --- build/build-info | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/build-info b/build/build-info index 88cd8516d13..434e7b498bc 100755 --- a/build/build-info +++ b/build/build-info @@ -1,7 +1,7 @@ #!/usr/bin/env bash # -# Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved. +# Copyright (c) 2019-2024, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -24,7 +24,7 @@ set -e echo_build_properties() { echo version=$1 echo cudf_version=$2 - echo user=$USER + echo user=$(whoami) echo revision=$(git rev-parse HEAD) echo branch=$(git rev-parse --abbrev-ref HEAD) echo date=$(date -u +%Y-%m-%dT%H:%M:%SZ)