]> ruderich.org/simon Gitweb - config/dotfiles.git/commit
lib.sh: Use `type` instead of `which`.
authorSimon Ruderich <simon@ruderich.org>
Sun, 10 Mar 2013 21:46:29 +0000 (22:46 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sun, 10 Mar 2013 21:46:29 +0000 (22:46 +0100)
commit7fe0556786e569f981dfb20ba0ac9c74983e7ed0
treeafc9576d6a639ea60838756476b2dd0db70952e1
parent1384fc92cc646c4fa666819682ff288d572641ab
lib.sh: Use `type` instead of `which`.

`type` is more portable. Also remove the old `which` tests.
lib.sh
tests/lib.sh.test
tests/lib.sh.test.out