mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 07:11:29 +02:00
guix: warn if running guix-build as root
This commit is contained in:
@@ -19,6 +19,15 @@ source "$(dirname "${BASH_SOURCE[0]}")/libexec/prelude.bash"
|
||||
|
||||
check_tools cat mkdir make getent curl git guix
|
||||
|
||||
################
|
||||
# Check if we're running as root
|
||||
################
|
||||
|
||||
if [ "$EUID" -eq 0 ]; then
|
||||
echo "Warning! Running this script as root may cause problems."
|
||||
echo
|
||||
fi
|
||||
|
||||
################
|
||||
# GUIX_BUILD_OPTIONS should be empty
|
||||
################
|
||||
|
||||
Reference in New Issue
Block a user