[PATCH] Use user ID number instead of name

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Dec 3 07:17:15 UTC 2019


This helps to avoid issues with user names which contain space
characters.

Close #3830.
---
 source-builder/defaults.mc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source-builder/defaults.mc b/source-builder/defaults.mc
index 7566bb5..8ed7003 100644
--- a/source-builder/defaults.mc
+++ b/source-builder/defaults.mc
@@ -59,7 +59,7 @@ _target:             none,    optional, ''
 rtems_release_url:   none,    none,     'https://ftp.rtems.org/pub/rtems/releases/%{rtems_version}'
 
 # The user
-_uid:                none,    convert,  '%(%{__id_u} -n)'
+_uid:                none,    convert,  '%(%{__id_u})'
 
 # Default flags that can be overridded to supply specific host or build
 # flags and include paths to the tools. The host is the final platform
-- 
2.16.4



More information about the devel mailing list