.lib/sh/stubexec.sh@6edfe4c6ebe5
.lib/sh/stubexec.sh
Wed, 28 Jul 2021 01:25:16 -0500
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Wed, 28 Jul 2021 01:25:16 -0500
- changeset 930
- 6edfe4c6ebe5
- parent 915
-
55a1c83b3417
- child 932
-
f87943eb16aa
- permissions
- -rw-r--r--
quick autohtml on write
stubexec() {
local real_bin="$(which -a $(basename $0) | grep -v $0 | head -n 1)"
if [ -x "$real_bin" ]; then
exec $real_bin $*
fi
}