Skip to content

Commit

Permalink
Merge pull request #6363 from anderspapitto/master
Browse files Browse the repository at this point in the history
replace use of `which` with `command -v` in i3 scripts
  • Loading branch information
peti committed Mar 1, 2015
2 parents 936bee4 + ec437bf commit d8a5864
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/applications/window-managers/i3/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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; {
Expand Down

0 comments on commit d8a5864

Please sign in to comment.