mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
16 lines
299 B
Bash
Executable file
16 lines
299 B
Bash
Executable file
#!/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
|
|
}
|