.lib/sh/stubexec.sh

Sat, 03 Jul 2021 02:40:31 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 03 Jul 2021 02:40:31 -0500
changeset 918
09aadfdbc7dd
parent 915
55a1c83b3417
child 932
f87943eb16aa
permissions
-rw-r--r--

fsck sucks without these. i'm so tired. git please

stubexec() {
  local real_bin="$(which -a $(basename $0) | grep -v $0 | head -n 1)"
  if [ -x "$real_bin" ]; then
    exec $real_bin $*
  fi
}

mercurial