From e93b4b0e10ee9355e2e20af493702421bb4cac2b Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Mon, 9 Sep 2019 17:00:02 +0200 Subject: [PATCH] fix install configs and use SUDO_GID flagged by alex-orange --- cmake/modules/SRSLTE_install_configs.sh.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/modules/SRSLTE_install_configs.sh.in b/cmake/modules/SRSLTE_install_configs.sh.in index 6f45a1e7c..e8edd1b3c 100755 --- a/cmake/modules/SRSLTE_install_configs.sh.in +++ b/cmake/modules/SRSLTE_install_configs.sh.in @@ -45,7 +45,8 @@ install_file(){ # Set file ownership to user calling sudo if [ $SUDO_USER ]; then user=$SUDO_USER - chown $user:$user $dest_path + group=$SUDO_GID + chown $user:$group $dest_path fi else echo " - $source_path doesn't exists. Skipping it."