krebs.setuid: mark activate string as sh

This commit is contained in:
tv 2022-01-27 05:37:06 +01:00
parent f4e35a7312
commit 10891882ab

View File

@ -66,7 +66,7 @@ with import <stockholm/lib>;
inherit (cfg) envp filename; inherit (cfg) envp filename;
}; };
dst = "${cfg.wrapperDir}/${cfg.name}"; dst = "${cfg.wrapperDir}/${cfg.name}";
in '' 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}