projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3e2dc7
)
mkosi.build: Only create groups if they don't exist yet
author
Daan De Meyer
<daan.j.demeyer@gmail.com>
Sat, 9 Jan 2021 16:41:16 +0000
(17:41 +0100)
committer
Daan De Meyer
<daan.j.demeyer@gmail.com>
Sat, 9 Jan 2021 17:06:28 +0000
(18:06 +0100)
mkosi.build
patch
|
blob
|
history
diff --git
a/mkosi.build
b/mkosi.build
index 0e90480c6dcb414a98b6ca953e60abd94810ecfa..ede394f4fdf86a766cc4ee15f3ec90cae6b3f377 100755
(executable)
--- a/
mkosi.build
+++ b/
mkosi.build
@@
-91,7
+91,7
@@
cd "$BUILDDIR"
ninja
if [ "$WITH_TESTS" = 1 ] ; then
for id in 1 2 3; do
- g
roupadd -g $id testgroup$id || :
+ g
etent group $id > /dev/null || groupadd -g $id testgroup$id
done
ninja test