You've already forked termux-packages
mirror of
https://github.com/izzy2lost/termux-packages.git
synced 2026-03-26 17:00:19 -07:00
11 lines
166 B
Bash
11 lines
166 B
Bash
# shellcheck shell=bash
|
|
termux_error_exit() {
|
|
if [ "$#" -eq 0 ]; then
|
|
# Read from stdin.
|
|
printf '%s\n' "$(cat)" >&2
|
|
else
|
|
printf '%s\n' "$*" >&2
|
|
fi
|
|
exit 1
|
|
}
|