summaryrefslogtreecommitdiff
path: root/Meta/.shell_include.sh
blob: bf883b63198095cc451801fd1b06a18c225ed934 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
# shellcheck disable=SC2034
# SC2034: "Variable appears unused. Verify it or export it."
#         Those are intentional here, as the file is meant to be included elsewhere.

SUDO="sudo"

if [ "$(uname -s)" = "SerenityOS" ]; then
    SUDO="pls"
fi

die() {
    echo "die: $*"
    exit 1
}