]> rtime.felk.cvut.cz Git - wvtest.git/commit
sh: use a worse version of _wvfind_caller if bash isn't available.
authorAvery Pennarun <apenwarr@gmail.com>
Tue, 16 Feb 2010 22:03:28 +0000 (17:03 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Tue, 16 Feb 2010 22:05:56 +0000 (17:05 -0500)
commit1a7575c61b06b2b1c64bf6e0f66744c3cea40ebd
tree06ed5b41a9d6fba48fbfb9fd3ba8793e876268db
parent84b16cd8c67bff9144c59675af3f18a92b6f9757
sh: use a worse version of _wvfind_caller if bash isn't available.

bash has tools for finding the file/linenumber of the caller, but it's not
POSIX, so don't rely on it.
sh/t/twvtest.sh
sh/wvtest.sh