setuid: fix warning: '.' should be ':'
This commit is contained in:
parent
c53bce0085
commit
3405347dff
@ -69,7 +69,7 @@ with import <stockholm/lib>;
|
|||||||
in /* sh */ ''
|
in /* sh */ ''
|
||||||
mkdir -p ${cfg.wrapperDir}
|
mkdir -p ${cfg.wrapperDir}
|
||||||
cp ${src} ${dst}
|
cp ${src} ${dst}
|
||||||
chown ${cfg.owner}.${cfg.group} ${dst}
|
chown ${cfg.owner}:${cfg.group} ${dst}
|
||||||
chmod ${cfg.mode} ${dst}
|
chmod ${cfg.mode} ${dst}
|
||||||
${optionalString (cfg.capabilities != []) /* sh */ ''
|
${optionalString (cfg.capabilities != []) /* sh */ ''
|
||||||
${pkgs.libcap.out}/bin/setcap ${concatMapStringsSep "," shell.escape cfg.capabilities} ${dst}
|
${pkgs.libcap.out}/bin/setcap ${concatMapStringsSep "," shell.escape cfg.capabilities} ${dst}
|
||||||
|
Loading…
Reference in New Issue
Block a user