1
1
mirror of https://github.com/walles/moar.git synced 2024-09-11 20:17:13 +03:00
moar/moar.sh

16 lines
201 B
Bash
Raw Permalink Normal View History

2019-06-09 08:56:55 +03:00
#!/bin/bash
2019-07-07 19:18:29 +03:00
# Build pager and run it, this script should behave just
# like the binary.
2019-06-09 08:56:55 +03:00
set -e -o pipefail
MYDIR="$(cd "$(dirname "$0")"; pwd)"
cd "$MYDIR"
2019-06-09 19:42:25 +03:00
rm -f moar
2019-06-09 08:56:55 +03:00
2019-07-07 19:34:05 +03:00
./build.sh 1>&2
2019-06-09 08:56:55 +03:00
./moar "$@"