public-inbox.git  about / heads / tags
an "archives first" approach to mailing lists
blob afb03f3ee58ca56b6497301b612a4c7fd5a4ba18 403 bytes (raw)
$ git show HEAD:lei.sh	# shows this blob on the CLI

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

git clone https://public-inbox.org/public-inbox.git
git clone http://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/public-inbox.git