Quote the user we pass to addgroup so funky chars are preserved. Fix by dragan_marinkovic in Bug 544
This commit was genuinely broken at the time (not related to our build system): scripts/config/mkconfigs.c (2005-08-01 - 2006-10-05 arasi) uretilen bbconfigopts.h icine .config satirlarini kacissiz, ham newline'larla gömüyordu - gecerli C degildi, busybox'un kendi bb_mkdep araci bile parse edemiyordu (7d219aab7 ile duzeltildi, mkconfigs shell scripte cevrildi)
No binary (build failed)
—
(log yok)
| @@ -117,7 +117,7 @@ static void addgroup_wrapper(const char *login, gid_t gid) | |
| { | |
| char *cmd; | |
| - | cmd = bb_xasprintf("addgroup -g %d %s", gid, login); |
| + | cmd = bb_xasprintf("addgroup -g %d \"%s\"", gid, login); |
| system(cmd); | |
| free(cmd); | |
| } | |