1
1
mirror of https://github.com/walles/moar.git synced 2024-11-26 04:21:11 +03:00
moar/moar.sh
2020-11-07 13:57:50 +01:00

16 lines
201 B
Bash
Executable File

#!/bin/bash
# Build pager and run it, this script should behave just
# like the binary.
set -e -o pipefail
MYDIR="$(cd "$(dirname "$0")"; pwd)"
cd "$MYDIR"
rm -f moar
./build.sh 1>&2
./moar "$@"