]> Sergey Matveev's repositories - public-inbox.git/blob - lei.sh
view: attach_link: reduce obuf manipulation
[public-inbox.git] / lei.sh
1 #!/bin/sh -e
2 # symlink this file to a directory in PATH to run lei (or anything in script/*)
3 # without needing perms to install globally.  Used by "make symlink-install"
4 p=$(realpath "$0" || readlink "$0") # neither is POSIX, but common
5 p=$(dirname "$p") c=$(basename "$0") # both are POSIX
6 exec ${PERL-perl} -w -I"$p"/lib "$p"/script/"${c%.sh}" "$@"
7 : this script is too short to copyright