summaryrefslogtreecommitdiffstats
path: root/scripts/poe-tasks
diff options
context:
space:
mode:
authorAleš Mrázek <ales.mrazek@nic.cz>2024-09-10 16:00:26 +0200
committerAleš Mrázek <ales.mrazek@nic.cz>2024-09-30 11:16:07 +0200
commitc741741a2986de5ca6c643a093a4fd90aa1b455d (patch)
tree582f325f4fd1516bb7f40485db7680155bed28bc /scripts/poe-tasks
parentci: manager: configure meson before every test (diff)
downloadknot-resolver-c741741a2986de5ca6c643a093a4fd90aa1b455d.tar.xz
knot-resolver-c741741a2986de5ca6c643a093a4fd90aa1b455d.zip
scripts/poe-tasks: use id cmd instead of $USER env var in _env.sh
Diffstat (limited to 'scripts/poe-tasks')
-rw-r--r--scripts/poe-tasks/utils/_env.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/poe-tasks/utils/_env.sh b/scripts/poe-tasks/utils/_env.sh
index 7b8fc4b3..86252d68 100644
--- a/scripts/poe-tasks/utils/_env.sh
+++ b/scripts/poe-tasks/utils/_env.sh
@@ -65,7 +65,7 @@ function kres_meson_configure {
echo -------------------------------
echo -e "${blue}${reset}"
echo
- meson setup $build_dir $reconfigure --prefix=$install_dir -Duser=$USER -Dgroup=$(id -gn) "$@"
+ meson setup $build_dir $reconfigure --prefix=$install_dir -Duser=$(id -un) -Dgroup=$(id -gn) "$@"
echo
echo Copying Knot Resolver constants.py module
echo -----------------------------------------