atop: use substituteInPlace instead of sed
This commit is contained in:
parent
3b0bc54131
commit
033cdffa9b
|
@ -49,8 +49,8 @@ stdenv.mkDerivation rec {
|
|||
findutils=${findutils} systemd=${systemd} substituteAllInPlace "$f"
|
||||
done
|
||||
|
||||
sed -e 's/chown/true/g' -i Makefile
|
||||
sed -e 's/chmod 04711/chmod 0711/g' -i Makefile
|
||||
substituteInPlace Makefile --replace 'chown' 'true'
|
||||
substituteInPlace Makefile --replace 'chmod 04711' 'chmod 0711'
|
||||
'';
|
||||
|
||||
installTargets = [ "systemdinstall" ];
|
||||
|
|
Loading…
Reference in New Issue