From ab0c36f71cb9ff52192af6aa4544ef634a35985f Mon Sep 17 00:00:00 2001 From: Nazarii Hnydyn Date: Tue, 31 Jan 2023 17:08:22 +0200 Subject: [PATCH] [buildsystem]: Fix error 'chown: missing operand after'. Signed-off-by: Nazarii Hnydyn --- src/sonic-build-hooks/scripts/buildinfo_base.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/sonic-build-hooks/scripts/buildinfo_base.sh b/src/sonic-build-hooks/scripts/buildinfo_base.sh index 1e334a4a62da..dbb839f6753e 100755 --- a/src/sonic-build-hooks/scripts/buildinfo_base.sh +++ b/src/sonic-build-hooks/scripts/buildinfo_base.sh @@ -28,8 +28,7 @@ else PKG_CACHE_PATH=/sonic/target/vcache/${IMAGENAME} fi PKG_CACHE_FILE_NAME=${PKG_CACHE_PATH}/cache.tgz -$SUDO mkdir -p ${PKG_CACHE_PATH} -$SUDO chown $USER $PKG_CACHE_PATH +mkdir -p ${PKG_CACHE_PATH} . ${BUILDINFO_PATH}/scripts/utils.sh