replace use of which with command -v in i3 scripts

This commit is contained in:
Anders Papitto 2015-02-16 08:08:16 +00:00
parent 08dfb4e22c
commit ec437bff92

View File

@ -37,6 +37,9 @@ stdenv.mkDerivation rec {
wrapProgram "$out/bin/i3-save-tree" --prefix PERL5LIB ":" "$PERL5LIB"
mkdir -p $out/man/man1
cp man/*.1 $out/man/man1
for program in $out/bin/i3-sensible-*; do
sed -i 's/which/command -v/' $program
done
'';
meta = with stdenv.lib; {